summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-01-01 17:07:52 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-01-01 17:07:52 +0000
commit071753cf618ceb51c0b2bda38e7d508af8c4ff4b (patch)
tree3df3eb44f738c4e518e1b1917b95ce21b2f244f0 /scripts/toy.groovy
parentAdd a tiny bit of lenience if toy cums immediately after ordered (diff)
downloadtoy-071753cf618ceb51c0b2bda38e7d508af8c4ff4b.zip
Back only causes reload in debug
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 948dd00..a043117 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -1663,7 +1663,7 @@ while (true) {
def act = opts[opt].act;
if (act)
act(opts[opt].arg);
- else
+ else if (is("DEBUG"))
return "toy";
}
addAvail(clickTime);