summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js9
-rw-r--r--rules.ts9
2 files changed, 12 insertions, 6 deletions
diff --git a/rules.js b/rules.js
index 72edae1..abc3dcd 100644
--- a/rules.js
+++ b/rules.js
@@ -1487,10 +1487,13 @@ states.move_track = {
},
skip() {
const node = get_active_node();
- if (node.a.v >= 0)
- logi(`${get_track_name(node.a.t)} cannot move +${node.a.v}`);
+ const track = node.a.t;
+ if (track === data_1.GOVERNMENT)
+ logi(`Government +0`);
+ else if (track === data_1.LIBERTY_OR_COLLECTIVIZATION)
+ logi("Liberty or Collectivization +0");
else
- logi(`${get_track_name(node.a.t)} cannot move ${node.a.v}`);
+ logi(`${get_track_name(track)} +0`);
resolve_active_and_proceed();
},
};
diff --git a/rules.ts b/rules.ts
index 4e21b3c..b6c4e2b 100644
--- a/rules.ts
+++ b/rules.ts
@@ -1802,10 +1802,13 @@ states.move_track = {
},
skip() {
const node = get_active_node();
- if (node.a.v >= 0)
- logi(`${get_track_name(node.a.t)} cannot move +${node.a.v}`);
+ const track = node.a.t
+ if (track === GOVERNMENT)
+ logi(`Government +0`)
+ else if (track === LIBERTY_OR_COLLECTIVIZATION)
+ logi("Liberty or Collectivization +0")
else
- logi(`${get_track_name(node.a.t)} cannot move ${node.a.v}`);
+ logi(`${get_track_name(track)} +0`)
resolve_active_and_proceed();
},
};