Running a reset fow and close doors macro freezes the scene
Cempres opened this issue · comments
Cempres commented
Expected Behavior
Trying to run the following macro ends in freezing the whole scene until reload.
Macro:
const updates = canvas.walls.doors.filter(i => i.data.ds < 2).map(i => ({_id: i.id, ds: 0}));
await canvas.scene.updateEmbeddedDocuments('Wall', updates);
canvas.fog.reset()
works without issues when turning off the module.
Current Behavior
Steps to Reproduce
1.Run the macro while moving a token
2. f12 will shrink the screen and the scene will be completely unsusable
Context
No response
Version
v4.0.17
Foundry VTT Version
v10.286
Operating System
Windows
Browser / App
Native App (Electron)
Game System
dnd5e (2.0.2)
Relevant Modules
No response
dev7355608 commented
Thanks for the report! Fixed in 4.0.18.