makes atmos machinery return properly from destroy()

This commit is contained in:
duncathan
2015-08-30 23:18:03 -06:00
parent f7363fc737
commit b5d6e00cea
15 changed files with 28 additions and 32 deletions
@@ -35,7 +35,7 @@ Acts like a normal vent, but has an input AND output.
/obj/machinery/atmospherics/components/binary/dp_vent_pump/Destroy()
if(radio_controller)
radio_controller.remove_object(src, frequency)
..()
return ..()
/obj/machinery/atmospherics/components/binary/dp_vent_pump/high_volume
name = "large dual-port air vent"
@@ -25,7 +25,7 @@ Passive gate is similar to the regular pump except:
/obj/machinery/atmospherics/components/binary/passive_gate/Destroy()
if(radio_controller)
radio_controller.remove_object(src,frequency)
..()
return ..()
/obj/machinery/atmospherics/components/binary/passive_gate/update_icon_nopipes()
if(!on)
@@ -31,7 +31,7 @@ Thus, the two variables affect pump operation are set in New():
radio_controller.remove_object(src,frequency)
if(radio_connection)
radio_connection = null
..()
return ..()
/obj/machinery/atmospherics/components/binary/pump/on
on = 1
@@ -29,7 +29,7 @@ Thus, the two variables affect pump operation are set in New():
/obj/machinery/atmospherics/components/binary/volume_pump/Destroy()
if(radio_controller)
radio_controller.remove_object(src,frequency)
..()
return ..()
/obj/machinery/atmospherics/components/binary/volume_pump/on
on = 1