summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-12-28 20:27:15 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-12-28 20:27:15 +0000
commit7023a1c000f83597e2404d94059ab110a90f362e (patch)
treedef04439ea63e3ce5f5a4afa9f2123d93499d84f
parentDelay cum denial until last second before actual chance (diff)
downloadtoy-7023a1c000f83597e2404d94059ab110a90f362e.zip
Don't exit when owner leaves, just drop back to the lounge
-rw-r--r--scripts/toy.groovy4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 9a74581..53caf2a 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -1418,9 +1418,7 @@ def beginPlan = { rt, plan, args ->
}
setAway(plan);
removeEvent(PLAY);
- if (rt) {
- exit();
- }
+ showLounge();
};
def endPlan = { rt, plan ->
save("toy.owner.outfitTime", getTime());