summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js7
1 files 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;