Skip to content

Commit

Permalink
grav gen defines & poking subsystems with a stick
Browse files Browse the repository at this point in the history
  • Loading branch information
Thera-Pissed committed May 12, 2024
1 parent 36d134d commit 557bc99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions code/controllers/subsystem/machines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ SUBSYSTEM_DEF(machines)
while(currentrun.len)
var/obj/machinery/thing = currentrun[currentrun.len]
currentrun.len--
if(!QDELETED(thing) && thing.process(seconds) != PROCESS_KILL)
//if(thing.use_power)
//thing.auto_use_power() //add back the power state //need help deciding what to do here other than commenting this out. if still it it doubles a lot of idle machine draws.
else
if(QDELETED(thing) || thing.process(seconds) == PROCESS_KILL)
processing -= thing
if (!QDELETED(thing))
thing.datum_flags &= ~DF_ISPROCESSING
Expand Down
4 changes: 2 additions & 2 deletions code/game/machinery/shuttle/ship_gravity.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
icon_state = "shipgrav"
base_icon_state = "shipgrav"
density = TRUE
idle_power_usage = 10
active_power_usage = 5000
idle_power_usage = IDLE_DRAW_MINIMAL
active_power_usage = ACTIVE_DRAW_EXTREME
circuit = /obj/item/circuitboard/machine/ship_gravity
var/charging = FALSE
var/active = FALSE
Expand Down

0 comments on commit 557bc99

Please sign in to comment.