From 444d1ad4f604b27e005e5bdea7ead507673ffd4a Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Tue, 6 Apr 2021 17:49:18 -0400 Subject: [PATCH] lock leaderID for player arc --- src/cheats/cheatEditArcology.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cheats/cheatEditArcology.js b/src/cheats/cheatEditArcology.js index 91183d6c8cf..852bd1648d3 100644 --- a/src/cheats/cheatEditArcology.js +++ b/src/cheats/cheatEditArcology.js @@ -19,7 +19,10 @@ App.UI.Cheat.arcology = function(num) { if (num > 0) { option.addValueList(["a committee", "a corporation", "an individual", "an oligarchy", "direct democracy", "elected officials"]); } - options.addOption("Leader ID", "leaderID", arc).showTextBox(); + options.addOption("Leader ID", "leaderID", arc); + if (num > 0) { + option.showTextBox(); + } options.addOption("Honeymoon", "honeymoon", arc).showTextBox(); options.addOption("Prosperity", "prosperity", arc).showTextBox(); options.addOption("Ownership", "ownership", arc).showTextBox(); -- GitLab