Small improvement - throbber now gets destroyed on the same frame that the text printer clears

meejle 2023-03-19 21:52:34 +00:00
parent 91b2bd7529
commit 3353f64fa5
1 changed files with 2 additions and 2 deletions

@ -112,13 +112,13 @@ With this one:
if (saveStatus == SAVE_STATUS_OK) if (saveStatus == SAVE_STATUS_OK)
{ {
DestroySprite(&gSprites[spriteId]);
ShowSaveMessage(gText_PlayerSavedGame, SaveSuccessCallback); ShowSaveMessage(gText_PlayerSavedGame, SaveSuccessCallback);
DestroySprite(&gSprites[spriteId]);
} }
else else
{ {
DestroySprite(&gSprites[spriteId]);
ShowSaveMessage(gText_SaveError, SaveErrorCallback); ShowSaveMessage(gText_SaveError, SaveErrorCallback);
DestroySprite(&gSprites[spriteId]);
} }
## Step 3: Make changes to src/save.c ## Step 3: Make changes to src/save.c