Fixed a bug where events wouldn't occur if scheduled for over 1 million ticks
Merge pull request #1 from Rotem12/master

Fixed a bug where events wouldn't occur if scheduled for over 1 million ticks