Skip to content
Snippets Groups Projects
Commit 444d1ad4 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

lock leaderID for player arc

parent 8fb23ce8
No related branches found
No related tags found
1 merge request!9220Allow cheat edit of any arc including player from same function
...@@ -19,7 +19,10 @@ App.UI.Cheat.arcology = function(num) { ...@@ -19,7 +19,10 @@ App.UI.Cheat.arcology = function(num) {
if (num > 0) { if (num > 0) {
option.addValueList(["a committee", "a corporation", "an individual", "an oligarchy", "direct democracy", "elected officials"]); 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("Honeymoon", "honeymoon", arc).showTextBox();
options.addOption("Prosperity", "prosperity", arc).showTextBox(); options.addOption("Prosperity", "prosperity", arc).showTextBox();
options.addOption("Ownership", "ownership", arc).showTextBox(); options.addOption("Ownership", "ownership", arc).showTextBox();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment