Game state not working?

Check if the Parent Class of GameState and GameMode is right