mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
A more reliable fix to the door audio issue
This commit is contained in:
parent
5a7367624f
commit
37490f35a2
@ -285,7 +285,7 @@ public class TileEntityDoorGeneric extends TileEntityLockableBase implements IAn
|
||||
}
|
||||
}
|
||||
|
||||
if((this.state == 3 && state == 1) || (this.state == 2 && state == 0)){ // Door finished any transition
|
||||
if(state == 1 || state == 0){ // Door finished any transition
|
||||
if(audio != null){
|
||||
audio.stopSound();
|
||||
audio = null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user