mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-14 17:36:52 +01:00
Refactored the machinery operable procs (#19274)
Refactored the machinery operable procs into a single one, DMDoc'd, SDMM marked, made more readable. Fixed suspension field generator not being able to be used as it was not checking the power cell for operability. Fixes #19249
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
|
||||
/obj/machinery/atmospherics/binary/oxyregenerator/process()
|
||||
. = ..()
|
||||
if((inoperable()) || !use_power)
|
||||
if((!operable()) || !use_power)
|
||||
return
|
||||
|
||||
var/power_draw = -1
|
||||
|
||||
Reference in New Issue
Block a user