Skip to content

Commit

Permalink
bugfix: airlock access deny sound with no power (#5093)
Browse files Browse the repository at this point in the history
* Update airlock.dm

* Update code/game/machinery/doors/airlock.dm

Co-authored-by: Daeberdir <[email protected]>

---------

Co-authored-by: Daeberdir <[email protected]>
  • Loading branch information
Samirakis and Daeberdir authored Jun 3, 2024
1 parent 9505cff commit 6d0ce5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/doors/airlock.dm
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ About the new airlock wires panel:
if("closing")
update_icon(AIRLOCK_CLOSING)
if("deny")
if(!stat)
if(arePowerSystemsOn())
update_icon(AIRLOCK_DENY)
playsound(src,doorDeni,50,0,3)
sleep(6)
Expand Down

0 comments on commit 6d0ce5e

Please sign in to comment.