mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +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
|
||||
|
||||
if(PROCESS_KILL == Machinery.process())
|
||||
Machinery.inMachineList = 0
|
||||
Machinery.removeAtProcessing()
|
||||
continue
|
||||
|
||||
|
||||
@@ -114,6 +114,8 @@ Class Procs:
|
||||
var/panel_open = 0
|
||||
var/area/myArea
|
||||
|
||||
var/inMachineList = 1
|
||||
|
||||
/obj/machinery/New()
|
||||
addAtProcessing()
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user