summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
});
};