mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-05-28 17:46:35 +01:00
Canister will close valve when tank ejected
I wonder why nobody did it before. Conflicts: code/game/machinery/atmoalter/canister.dm
This commit is contained in:
committed by
ZomgPonies
parent
408379ab6a
commit
8c24a36298
@@ -303,6 +303,9 @@ update_flag
|
||||
|
||||
if (href_list["remove_tank"])
|
||||
if(holding)
|
||||
if (valve_open)
|
||||
valve_open = 0
|
||||
release_log += "Valve was <b>closed</b> by [usr] ([usr.ckey]), stopping the transfer into the [holding]<br>"
|
||||
holding.loc = loc
|
||||
holding = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user