This commit is contained in:
Anuken
2022-05-09 09:49:15 -04:00
parent a8a8cc950e
commit 900e3ec334
3 changed files with 7 additions and 3 deletions

View File

@@ -76,9 +76,11 @@ public class AutoDoor extends Wall{
public void setOpen(boolean open){
this.open = open;
(!open ? closefx : openfx).at(this, size);
doorSound.at(this);
pathfinder.updateTile(tile);
if(wasVisible){
(!open ? closefx : openfx).at(this, size);
doorSound.at(this);
}
}
@Override