summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/toy.groovy3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 5ae388a..a33959c 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -118,6 +118,9 @@ def dress = { specs ->
outfit = selectImageSet(OWNER, specs);
if (!outfit) {
showPopup("No outfit for $OWNER : $specs");
+ save("toy.owner.outfit", null);
+ save("toy.owner.outfitTime", null);
+ return;
}
save("toy.owner.outfit", outfit.set);
save("toy.owner.outfitTime", getTime());