Decomposed and fixed saves

This commit is contained in:
Rorikstr | Rust Dev 2025-10-01 00:01:44 +03:00
parent 65d2c2e287
commit cc6f9bb2d1
9 changed files with 112 additions and 72 deletions

View file

@ -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);
}