quick hack to fix corruption

This commit is contained in:
Putnam
2021-05-26 09:23:56 -07:00
parent 6aba9269f6
commit 9e55d9e2d9
3 changed files with 8 additions and 0 deletions

View File

@@ -108,6 +108,14 @@ SUBSYSTEM_DEF(air)
/datum/controller/subsystem/air/proc/thread_running()
return FALSE
/proc/fix_corrupted_atmos()
/datum/admins/proc/fixcorruption()
set category = "Debug"
set desc="Fixes air that has weird NaNs (-1.#IND and such). Hopefully."
set name="Fix Air"
fix_corrupted_atmos()
/datum/controller/subsystem/air/fire(resumed = 0)
var/timer = TICK_USAGE_REAL