Port the code to Foundry 0.8.5

This commit is contained in:
2021-05-04 22:48:11 +02:00
parent 42529d3df6
commit 81f455c63a
6 changed files with 23 additions and 26 deletions

View File

@@ -12,7 +12,7 @@ export function onDoorLeftClick(event) {
if (game.settings.get(settingsKey, "synchronizedDoors") && synchronizationGroup && this.wall.data.flags.smartdoors?.synchronizeSecretStatus)
updateSynchronizedDoors(updateData, synchronizationGroup)
else
this.wall.update(updateData)
this.wall.document.update(updateData)
return true
}