Skip to content

Commit

Permalink
Fixes #631 (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
quardbreak authored and Dallas committed Mar 10, 2017
1 parent 74d3123 commit c44b61b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions code/game/machinery/doors/airlock.dm
Original file line number Diff line number Diff line change
Expand Up @@ -564,18 +564,16 @@ About the new airlock wires panel:
if("opening")
if(overlays) overlays.Cut()
if(p_open)
spawn(2) // The only work around that works. Downside is that the door will be gone for a millisecond.
flick("o_door_opening", src) //can not use flick due to BYOND bug updating overlays right before flicking
update_icon()
flick("o_door_opening", src) //can not use flick due to BYOND bug updating overlays right before flicking
update_icon()
else
flick("door_opening", src)//[stat ? "_stat":]
update_icon()
if("closing")
if(overlays) overlays.Cut()
if(p_open)
spawn(2)
flick("o_door_closing", src)
update_icon()
flick("o_door_closing", src)
update_icon()
else
flick("door_closing", src)
update_icon()
Expand Down

0 comments on commit c44b61b

Please sign in to comment.