From bb0368313d1a371b57c76007546c09eab4cf3656 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Tue, 6 Apr 2021 17:18:26 -0400
Subject: [PATCH] fix gov for player

---
 src/cheats/cheatEditArcology.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/cheats/cheatEditArcology.js b/src/cheats/cheatEditArcology.js
index 0ca54dd856b..81b437f63be 100644
--- a/src/cheats/cheatEditArcology.js
+++ b/src/cheats/cheatEditArcology.js
@@ -15,8 +15,10 @@ App.UI.Cheat.arcology = function(num) {
 			"east", "north", "northeast", "northwest", "south", "southeast", "southwest", "west"
 		]).pulldown();
 	}
-	options.addOption("government", "government", arc)
-		.addValueList(["a committee", "a corporation", "an individual", "an oligarchy", "direct democracy", "elected officials"]);
+	options.addOption("government", "government", arc);
+	if (num > 0) {
+		option.addValueList(["a committee", "a corporation", "an individual", "an oligarchy", "direct democracy", "elected officials"]);
+	}
 	options.addOption("leaderID", "leaderID", arc).showTextBox();
 	options.addOption("honeymoon", "honeymoon", arc).showTextBox();
 	options.addOption("prosperity", "prosperity", arc).showTextBox();
-- 
GitLab