Fixed time limit bug

If the time limit was 0 the game would end immediately