summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/toy.groovy3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 3e1334d..ea85504 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -1043,8 +1043,7 @@ def sessionPlay = {
};
def playTake = { amount, activities, use = null ->
Collections.shuffle(activities);
- activities.take(amount);
- activities.each {
+ activities.take(amount).each {
if (!sessionAborted) {
apply(it, use);
}