Decomposed and fixed saves
This commit is contained in:
parent
65d2c2e287
commit
cc6f9bb2d1
9 changed files with 112 additions and 72 deletions
|
|
@ -12,7 +12,7 @@ void userInput(UserAction_t action, bool hold) {
|
|||
|
||||
switch (action) {
|
||||
case Start:
|
||||
if (state->info->score > state->info->high_score) {
|
||||
if (state->info->score >= state->info->high_score) {
|
||||
state->info->high_score = state->info->score;
|
||||
save_high_score(state->info->high_score);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue