Day & Night Cycle
The cycle was time-based down to the seconds, but all time based events where hour-based. While the system was built inside the Game Mode, much of the other functionality was built outside of it (such as the sun's movement).
Therefore, I made sure that new implementations didn't need to access the game mode, and focus on smart interfaces. This would make it more modular, for any added functionality that would be implemented later.
The bulk of this code was made by me, with assistance from Johan and Jack.