Automatic MC Re-Starter 9000 (#319)

* fixed runtime in air.dm

fix was made in LINDA_turf_tile.dm though

* fixes runtime in corpse.dm

* fixes runtime in species.dm

* automatically restarts the MC sometimes

When the timer SS crashes, here's the fix

hardcoded with love

* supermatter area icon

* better admin logs

* better mentorhelp message for admins

* fixes map
This commit is contained in:
TalkingCactus
2017-03-27 03:16:56 -04:00
committed by GitHub
parent e84d099e44
commit 756180afd6
8 changed files with 44001 additions and 111126 deletions
+4 -1
View File
@@ -82,6 +82,9 @@ var/datum/controller/subsystem/timer/SStimer
qdel(timer)
bucket_resolution = null //force bucket recreation
CRASH("Invalid timer: timer.timeToRun=[timer.timeToRun]||QDELETED(timer)=[QDELETED(timer)]||world.time=[world.time]||head_offset=[head_offset]||practical_offset=[practical_offset]||timer.spent=[timer.spent]")
//Temporary fix
Recreate_MC()
message_admins("The timer SS has crashed. A full report can be found in the runtime viewer. MC restarted automatically.")
if (!timer.spent)
spent += timer
@@ -222,7 +225,7 @@ var/datum/controller/subsystem/timer/SStimer
ctts.Insert(src, I)
break
else
ctts += src
ctts += src
return
//get the list of buckets