ritrailtime bug fixed

Fixed a bug causing ritrailtime to crash the game when set to 0