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

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