mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
Fix init_process not preventing processing
Prevents machines from running faster when set to both not init_process and not speed_process. Changes mineral machine to init_process to fix potential issues caused by this.
This commit is contained in:
@@ -149,10 +149,11 @@ Class Procs:
|
||||
circuit = new circuit(src)
|
||||
circuit.apply_default_parts(src)
|
||||
|
||||
if(!speed_process && init_process)
|
||||
START_PROCESSING(SSmachines, src)
|
||||
else
|
||||
START_PROCESSING(SSfastprocess, src)
|
||||
if(init_process) // Required to prevent non-speed non-init machines from running
|
||||
if(speed_process)
|
||||
START_PROCESSING(SSfastprocess, src)
|
||||
else
|
||||
START_PROCESSING(SSmachines, src)
|
||||
RegisterSignal(src, COMSIG_ENTER_AREA, .proc/power_change)
|
||||
|
||||
if (occupant_typecache)
|
||||
|
||||
Reference in New Issue
Block a user