mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-03 14:02:49 +00:00
Machinery performance tweaks (#1744)
changes: Machines' process() has been separated from auto_use_power(). Lights no longer process() and instead use auto_use_power() for power calculations. Computers that didn't really need to process() no longer process(). Airlocks now use the scheduler to auto-close instead of process()ing. Fixed a bug where clicking on an AI Status display to set its status did not work.
This commit is contained in:
@@ -184,7 +184,7 @@
|
||||
holographic_mobs -= C
|
||||
C.derez()
|
||||
|
||||
if(!..())
|
||||
if(inoperable())
|
||||
return
|
||||
if(active)
|
||||
use_power(item_power_usage * (holographic_objs.len + holographic_mobs.len))
|
||||
|
||||
Reference in New Issue
Block a user