tgstation/-tg-station — pull request #3566 by Deantwo (2014-04-28 14:00:20+00:00)
Title: Fixes Midnight Rollover Protection

* Fixed the non-existent Midnight Rollover Protection
* Moved Midnight Rollover Protection to "timeleft()"
* Removed "direction == 2" check, because "direction" is never 2

I have not tested this in-game because I still have no idea how to do that yet, even more so as it would have to be done at midnight.

Fixes the Midnight Rollover Protection bugs I talked about in #2067