diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-12-28 01:41:01 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-12-28 01:41:01 +0000 |
commit | 20e535be846c94b6701bc232f311b02e79599ef5 (patch) | |
tree | e3b3c5d77cd9ad1263e527d73843839fdbed40cb | |
parent | Reschedule release event in case it occurred during play (diff) | |
download | toy-20e535be846c94b6701bc232f311b02e79599ef5.zip |
Remove and reschedule play event in case it occurred during immediate punishment
-rw-r--r-- | scripts/toy.groovy | 2 |
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], [ |