summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index e3bc05e..a4f1e85 100644
--- a/rules.js
+++ b/rules.js
@@ -2808,7 +2808,9 @@ function check_control(space) {
}
function get_icons(starting_control, end_control) {
- if (game.state !== 'place_starting_infl') {
+ if (game.state === 'place_starting_infl')
+ return ''
+ else {
if (starting_control !== end_control) {
console.log('in long bit')
if (starting_control === DEM && end_control === COM)
@@ -2846,8 +2848,9 @@ function get_icons(starting_control, end_control) {
else
return ''
}
- } else
- return ''
+ else
+ return ''
+ }
}
function do_tst_attempt() {