Fixed tiny uplaod bug

This commit is contained in:
Michael Chen 2018-01-30 14:47:01 +01:00
parent d523a3b72e
commit 830e40ca77

View File

@ -135,6 +135,7 @@ void GAMEOVER_MouseClicked(SDL_MouseButtonEvent b, Scenery * scenery){
GAME_ChangeState(Highscores);
} else if (clickInRect(b, &GAMEOVER_RestartButtonRect)) {
printf("Restart was called from gameover!\n");
GAMEOVER_UploadState = Initial;
GAME_Restart();
GAME_ChangeState(Game);
}