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