From 830e40ca778958a415c5dfe52fb3bf715f694fc0 Mon Sep 17 00:00:00 2001 From: Michael Chen Date: Tue, 30 Jan 2018 14:47:01 +0100 Subject: [PATCH] Fixed tiny uplaod bug --- gameover.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gameover.c b/gameover.c index 823f3a3..0b2cd62 100644 --- a/gameover.c +++ b/gameover.c @@ -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); }