summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-08-27 23:01:50 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-08-27 23:01:50 +0200
commitc8fcc8e64d06efdba2dce255d94737fa6786ad14 (patch)
tree07c24fe481b8cbc1d1f31624a7b59ffb55ec1901
parentfbce4eca24a19afa44298b659291461552531ec5 (diff)
downloadfuzzer-c8fcc8e64d06efdba2dce255d94737fa6786ad14.tar.gz
check if we can actually resign in this game
-rwxr-xr-xrtt-module.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtt-module.js b/rtt-module.js
index f0c2c6c..6ff8dfd 100755
--- a/rtt-module.js
+++ b/rtt-module.js
@@ -67,7 +67,7 @@ module.exports.fuzz = function(fuzzerInputData) {
// remove `undo` from actions, useful to test for dead-ends
delete actions['undo']
}
- if (!NO_RESIGN) {
+ if (!NO_RESIGN && RULES.resign) {
actions['_resign'] = 1
}