Ports "Better repeated MC crash handling"

* From https://github.com/tgstation/tgstation/pull/25813
* If the MC crashes: The problem subsystem will be rebooted on its 2nd strike and disabled on its third.
This commit is contained in:
Leshana
2017-06-07 16:42:06 -04:00
parent b996d5c6b2
commit 82e90a206c
2 changed files with 21 additions and 0 deletions

View File

@@ -27,6 +27,8 @@
var/datum/controller/subsystem/queue_next
var/datum/controller/subsystem/queue_prev
var/static/failure_strikes = 0 //How many times we suspect this subsystem has crashed the MC, 3 strikes and you're out!
//Do not override
/datum/controller/subsystem/New()
return