Merge pull request #34810 from tgstation/KorPhaeron-patch-2

[s]Fixes being able to lower w_class of transfer valves
This commit is contained in:
oranges
2018-01-23 20:12:22 +13:00
committed by CitadelStationBot
parent 5e1ff26276
commit 630d823d1a
@@ -80,16 +80,12 @@
tank_one.forceMove(drop_location())
tank_one = null
update_icon()
if((!tank_two || tank_two.w_class < WEIGHT_CLASS_BULKY) && (w_class > WEIGHT_CLASS_NORMAL))
w_class = WEIGHT_CLASS_NORMAL
else if(tank_two && href_list["tanktwo"])
split_gases()
valve_open = FALSE
tank_two.forceMove(drop_location())
tank_two = null
update_icon()
if((!tank_one || tank_one.w_class < WEIGHT_CLASS_BULKY) && (w_class > WEIGHT_CLASS_NORMAL))
w_class = WEIGHT_CLASS_NORMAL
else if(href_list["open"])
toggle_valve()
else if(attached_device)