Make sure PlayerCiv values are initialized

fixes daada92a82
Reviewed By: Silier
Differential Revision: D4522
This was SVN commit r26572.
This commit is contained in:
bb 2022-03-06 09:39:57 +00:00
parent 0668167fda
commit b5d5628667

View File

@ -9,6 +9,7 @@ PlayerSettingControls.PlayerCiv = class PlayerCiv extends GameSettingControlDrop
this.items = this.getItems(false);
this.allItems = this.getItems(true);
this.wasLocked = undefined;
this.values = prepareForDropdown(this.items);
this.rebuild();
}