Fixed tiny uplaod bug
This commit is contained in:
parent
d523a3b72e
commit
830e40ca77
@ -135,6 +135,7 @@ void GAMEOVER_MouseClicked(SDL_MouseButtonEvent b, Scenery * scenery){
|
|||||||
GAME_ChangeState(Highscores);
|
GAME_ChangeState(Highscores);
|
||||||
} else if (clickInRect(b, &GAMEOVER_RestartButtonRect)) {
|
} else if (clickInRect(b, &GAMEOVER_RestartButtonRect)) {
|
||||||
printf("Restart was called from gameover!\n");
|
printf("Restart was called from gameover!\n");
|
||||||
|
GAMEOVER_UploadState = Initial;
|
||||||
GAME_Restart();
|
GAME_Restart();
|
||||||
GAME_ChangeState(Game);
|
GAME_ChangeState(Game);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user