summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-04-21 20:04:12 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-04-21 20:04:12 -0400
commitdbe24f0baa560aaa30f3084f1dfb21fb3cfb04db (patch)
treedd92c367cd3bdb11c26674db9b64f019646089d7 /src/scrcmd.c
parenta2a9f226129317c2557b908883903df47701324c (diff)
Clean up contest_painting
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index 7dc02b6a8..0ee20d1c6 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -1466,15 +1466,15 @@ bool8 ScrCmd_hidemonpic(struct ScriptContext *ctx)
return TRUE;
}
-bool8 ScrCmd_showcontestwinner(struct ScriptContext *ctx)
+bool8 ScrCmd_showcontestpainting(struct ScriptContext *ctx)
{
u8 contestWinnerId = ScriptReadByte(ctx);
- // Don't save artist's painting yet
+ // Artist's painting is temporary and already has its data loaded
if (contestWinnerId != CONTEST_WINNER_ARTIST)
SetContestWinnerForPainting(contestWinnerId);
- ShowContestWinnerPainting();
+ ShowContestPainting();
ScriptContext1_Stop();
return TRUE;
}