From e32507d61c04ab4a9f4332dcd7bde84ced8a15b6 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Sat, 21 Sep 2024 11:35:45 +0100 Subject: Additional debug steps --- rules.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rules.js b/rules.js index 90c9179..00cad71 100644 --- a/rules.js +++ b/rules.js @@ -2412,8 +2412,11 @@ function valid_spaces_support_falters() { } function valid_spaces_infl() { - console.log('valid_spaces_infl called') - + if (game.state.startsWith('vm')) { + console.log('valid_spaces_infl called from VM') + } else { + console.log('valid_spaces_infl called not from VM') + } // Check if function is called from the VM or not, take relevant ops variable let ops = game.state.startsWith('vm') ? game.vm_available_ops : game.available_ops; -- cgit v1.2.3