Fixed the gamestate mistake