Skip to content

Commit

Permalink
Revert "Kills atmos callbacks"
Browse files Browse the repository at this point in the history
This reverts commit d21e4ab.
  • Loading branch information
JixS4v committed Sep 2, 2024
1 parent dabd6e3 commit 00ecc2b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions code/controllers/subsystem/callback.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SUBSYSTEM_DEF(callbacks)
name = "Auxtools Callbacks"
flags = SS_TICKER | SS_NO_INIT
wait = 1
priority = FIRE_PRIORITY_CALLBACKS

/proc/process_atmos_callbacks()
SScallbacks.can_fire = 0
SScallbacks.flags |= SS_NO_FIRE
CRASH("Auxtools not found! Callback subsystem shutting itself off.")

/datum/controller/subsystem/callbacks/fire()
if(process_atmos_callbacks(MC_TICK_REMAINING_MS))
pause()

0 comments on commit 00ecc2b

Please sign in to comment.