summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-07-08 21:50:10 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2019-07-08 21:50:10 +0100
commit1b8abeee190eaa2674d82c5137eae6bc6224acf0 (patch)
tree8ab0cdc7cc31e14272dc8890c3cd67c91c56c8e2 /scripts/toy.groovy
parentDon't tell toy to kneel when kneeling or squating, it's weird (diff)
downloadtoy-1b8abeee190eaa2674d82c5137eae6bc6224acf0.zip
Dynamic build sessions from activity tags
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r--scripts/toy.groovy1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 6f87485..3d32f62 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -313,6 +313,7 @@ return new Object() {
final activityList = [:];
final addActivity = { String name, func, images = [], tags = [] ->
activityList[name] = [
+ name: name,
func: func,
tags: tags ?: [],
images: images ?: []