summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/toy/toys.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/toy/toys.groovy b/scripts/toy/toys.groovy
index 034c7fc..5dff717 100644
--- a/scripts/toy/toys.groovy
+++ b/scripts/toy/toys.groovy
@@ -10,7 +10,7 @@
remFunc: removeFunc
];
toy.addRequestable("un$toyState".toString(), removeReq,
- removeReqFunc ?: { toy.requestRelease(stateName) },
+ removeReqFunc ?: { toy.requestRelease(toyState) },
{ toy.stateIs(toyState) })
};