Fixes timer buckets going into negatives and adds a regression test

This commit is contained in:
ninjanomnom
2018-08-16 14:50:09 -04:00
parent 690b37b6d6
commit 01a79dccb0
3 changed files with 8 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
/datum/unit_test/timer_sanity/Run()
if(SStimer.bucket_count < 0)
Fail("SStimer is going into negative bucket count from something")