Fixed error with time calculation

Error caused time to not be displayed correctly at some points.
Merge pull request #343 from thatdudegrim/master

Gametime: Fixed time retrieval problem