summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r--scripts/toy.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index e01a63a..5b40475 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -1093,7 +1093,7 @@ def sessionRelease = { goodToy ->
removeToy(toy, [DRESSED]);
}
else {
- addEventIfMissing("$RELEASEFROM-$toy", getTime() + 100 + getRandom(10 * (getPunish() + 1)),
+ addEvent("$RELEASEFROM-$toy", getTime() + 100 + getRandom(10 * (getPunish() + 1)),
RELEASEFROM, toy);
adjustPunish(-5);
}