Add new var (inMachineList) to see if the machine is in the list.

This commit is contained in:
ESwordTheCat
2014-05-22 06:34:18 -08:00
parent 77498c207d
commit c0c13bf144
2 changed files with 3 additions and 0 deletions

View File

@@ -311,6 +311,7 @@ datum/controller/game_controller/proc/processMobs()
#endif
if(PROCESS_KILL == Machinery.process())
Machinery.inMachineList = 0
Machinery.removeAtProcessing()
continue

View File

@@ -114,6 +114,8 @@ Class Procs:
var/panel_open = 0
var/area/myArea
var/inMachineList = 1
/obj/machinery/New()
addAtProcessing()
return ..()