diff --git a/MaterialPlane.js b/MaterialPlane.js index 076c7f0..b817db3 100644 --- a/MaterialPlane.js +++ b/MaterialPlane.js @@ -215,6 +215,9 @@ Hooks.on('ready', async ()=>{ else if (payload.msgType == 'refresh') { window.location.reload(); } + else if (payload.msgType == 'calConfig') { + calibrationProgress.configureElements(payload.config, true) + } if (game.user.isGM) { if (payload.msgType == "controlToken") { lastToken = game.canvas.tokens.get(payload.tokenId); @@ -324,8 +327,6 @@ Hooks.on('closempConfig',() => { Hooks.on('closecalibrationProgressScreen',() => { removeOverlay(); calibrationProgress.setCalibrationRunning(false) - console.log('stopping calibration') - sendWS({event:"calibration", state:"cancel"}); }); diff --git a/changelog.md b/changelog.md index ced99ed..61f827f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,23 @@ # Changelog Material Plane Foundry Module +### v3.2.1 - 26-09-2024 + +Additions: +