summaryrefslogtreecommitdiff
path: root/src/scrcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scrcmd.c')
-rw-r--r--src/scrcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scrcmd.c b/src/scrcmd.c
index e5272bc9c..29c1f982e 100644
--- a/src/scrcmd.c
+++ b/src/scrcmd.c
@@ -548,7 +548,7 @@ bool8 ScrCmd_givedecoration(struct ScriptContext *ctx)
{
u32 decoration = VarGet(ScriptReadHalfword(ctx));
- gSpecialVar_Result = IsThereStorageSpaceForDecoration(decoration);
+ gSpecialVar_Result = GiveDecoration(decoration);
return FALSE;
}