mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-02 13:32:32 +00:00
Modular computers no longer use power when shutdown. (#9676)
Fixes #9671
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
#define LISTENER_MODULAR_COMPUTER "modular_computers"
|
||||
|
||||
/obj/item/modular_computer/process()
|
||||
handle_power() // Handles all computer power interaction
|
||||
if(!enabled) // The computer is turned off
|
||||
last_power_usage = 0
|
||||
return FALSE
|
||||
|
||||
handle_power() // Handles all computer power interaction
|
||||
|
||||
if(damage > broken_damage)
|
||||
shutdown_computer()
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user