summaryrefslogtreecommitdiff
path: root/scripts/toy/play.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/toy/play.groovy')
-rw-r--r--scripts/toy/play.groovy2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/toy/play.groovy b/scripts/toy/play.groovy
index 2078d0b..f30f19c 100644
--- a/scripts/toy/play.groovy
+++ b/scripts/toy/play.groovy
@@ -221,8 +221,10 @@
if (first.asBoolean()) {
playWait();
}
+ executeTrigger("playStarted");
sessionPlay();
sessionRelease(sessionAborted == null);
+ executeTrigger("playEnded", sessionAborted);
}
else {
adjustPunish(25);