Made the game work without debugging