[MIRROR] New DCS signals (#2741)

* New DCS signals

* Update atoms.dm

* actually ports comsigs
This commit is contained in:
CitadelStationBot
2017-09-19 07:00:08 -05:00
committed by Poojawa
parent 1352eefa3a
commit ecce4cf138
5 changed files with 44 additions and 9 deletions
+2 -1
View File
@@ -40,6 +40,7 @@ SUBSYSTEM_DEF(machines)
var/obj/machinery/thing = currentrun[currentrun.len]
currentrun.len--
if(!QDELETED(thing) && thing.process(seconds) != PROCESS_KILL)
thing.SendSignal(COMSIG_MACHINE_PROCESS)
if(thing.use_power)
thing.auto_use_power() //add back the power state
else
@@ -61,4 +62,4 @@ SUBSYSTEM_DEF(machines)
if (istype(SSmachines.processing))
processing = SSmachines.processing
if (istype(SSmachines.powernets))
powernets = SSmachines.powernets
powernets = SSmachines.powernets