mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Add new var (inMachineList) to see if the machine is in the list.
This commit is contained in:
@@ -311,6 +311,7 @@ datum/controller/game_controller/proc/processMobs()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(PROCESS_KILL == Machinery.process())
|
if(PROCESS_KILL == Machinery.process())
|
||||||
|
Machinery.inMachineList = 0
|
||||||
Machinery.removeAtProcessing()
|
Machinery.removeAtProcessing()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|||||||
@@ -114,6 +114,8 @@ Class Procs:
|
|||||||
var/panel_open = 0
|
var/panel_open = 0
|
||||||
var/area/myArea
|
var/area/myArea
|
||||||
|
|
||||||
|
var/inMachineList = 1
|
||||||
|
|
||||||
/obj/machinery/New()
|
/obj/machinery/New()
|
||||||
addAtProcessing()
|
addAtProcessing()
|
||||||
return ..()
|
return ..()
|
||||||
|
|||||||
Reference in New Issue
Block a user