summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
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 d7747a7..5dc97d5 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -94,7 +94,7 @@ return new Object() {
def loadModules = { toy ->
new File("$DATAFOLDER/scripts/toy")
.listFiles()
- .every({s ->
+ .each({s ->
Eval.me(s.text)(toy);
});
};