summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorFrans Bongers <fransbongers@franss-mbp.home>2025-01-03 20:03:13 +0100
committerFrans Bongers <fransbongers@franss-mbp.home>2025-01-03 20:03:13 +0100
commit1a5bcbc0293208cd2837a95c2cdd573cf461d960 (patch)
treeb6d9dc82dbb04f07267d816c64036f43360c74c9 /rules.js
parent1439bd62494cf3d8c8072613ab508650111efbb1 (diff)
downloadland-and-freedom-1a5bcbc0293208cd2837a95c2cdd573cf461d960.tar.gz
fixed several bugs
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 30dc65e..6c9187b 100644
--- a/rules.js
+++ b/rules.js
@@ -1956,7 +1956,7 @@ function get_max_value_for_track(track_id) {
function get_min_value_for_track(track_id) {
switch (track_id) {
case data_1.GOVERNMENT:
- const min_gov = game.tracks[data_1.SOVIET_SUPPORT] >= 8 ? 4 : 1;
+ const min_gov = game.tracks[data_1.SOVIET_SUPPORT] >= 8 ? 1 : 4;
return Math.min(min_gov, game.tracks[data_1.GOVERNMENT]);
case data_1.LIBERTY:
case data_1.COLLECTIVIZATION: