Don't allow to open locked, synchronized doors

This commit is contained in:
2020-12-08 20:44:03 +01:00
parent 7724476128
commit ff53eed1ee
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
### Bugfixes ### Bugfixes
- In cloned scenes Locked Door Alerts will now only highlight the door in the correct scene - In cloned scenes Locked Door Alerts will now only highlight the door in the correct scene
- When adding a door to a synchronization group it will now assume the correct state if it's being synchronized with it's twin door on a cloned map - When adding a door to a synchronization group it will now assume the correct state if it's being synchronized with it's twin door on a cloned map
- Fixed a bug that allowed synchonized doors to be opened dispite them being locked
## v1.0.1 ## v1.0.1
- When adding a door to a synchronization group adjust it's state to bring it in sync with the other doors - When adding a door to a synchronization group adjust it's state to bring it in sync with the other doors

View File

@@ -313,7 +313,7 @@ function synchronizedDoorsLeftClick() {
return false return false
// If the door is locked there is nothing to synchronize // If the door is locked there is nothing to synchronize
if (this.state === states.LOCKED) if (state === states.LOCKED)
return false return false
// Calculate new door state // Calculate new door state