diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-21 11:35:45 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-21 11:35:45 +0100 |
commit | e32507d61c04ab4a9f4332dcd7bde84ced8a15b6 (patch) | |
tree | 123b3c56e2bc86d62c415b16cfad3aa5a0899c39 | |
parent | 27b3605dc838fded565fb1b75f3efc6b1ed6f033 (diff) | |
download | 1989-dawn-of-freedom-e32507d61c04ab4a9f4332dcd7bde84ced8a15b6.tar.gz |
Additional debug steps
-rw-r--r-- | rules.js | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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;
|