fix savefile bug
This commit is contained in:
parent
2a2af21d03
commit
99929b47a9
@ -186,7 +186,7 @@ void draw() {
|
||||
|
||||
|
||||
// save
|
||||
if(playtime.second() < stats_menu.best_game_time) stats_menu.best_game_time = playtime.second();
|
||||
if(ship_zero.health > 0) if(playtime.second() < stats_menu.best_game_time) stats_menu.best_game_time = playtime.second();
|
||||
savefile.savetofile("save");
|
||||
} else if (ispause) {
|
||||
main_menu.drawMenu();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user