Don't allow to open locked, synchronized doors
This commit is contained in:
@@ -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
|
||||||
|
|||||||
2
main.js
2
main.js
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user