summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-12-28 01:41:01 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-12-28 01:41:01 +0000
commit20e535be846c94b6701bc232f311b02e79599ef5 (patch)
treee3b3c5d77cd9ad1263e527d73843839fdbed40cb /scripts
parentReschedule release event in case it occurred during play (diff)
downloadtoy-20e535be846c94b6701bc232f311b02e79599ef5.zip
Remove and reschedule play event in case it occurred during immediate punishment
Diffstat (limited to 'scripts')
-rw-r--r--scripts/toy.groovy2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 5b40475..2cf9200 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -1330,8 +1330,10 @@ def confess = {
["Immediate punishment!", "So you will suffer... right now!"]]);
adjustPunish(100);
showButtonG("Yes, mistress", "ok");
+ removeEvent(PLAY);
sessionPlay();
sessionRelease(sessionAborted == null);
+ playSchedule(getTime());
}
else {
present([DRESSED, nTEASE], [