Differential D3711 Diff 16562 binaries/data/mods/public/gui/gamesetup/Pages/GameSetupPage/GameSettings/Single/Dropdowns/PopulationCap.js
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/gamesetup/Pages/GameSetupPage/GameSettings/Single/Dropdowns/PopulationCap.js
Show All 40 Lines | if (this.dropdown.hovered != -1) | ||||
} | } | ||||
} | } | ||||
this.dropdown.tooltip = tooltip; | this.dropdown.tooltip = tooltip; | ||||
} | } | ||||
onSelectionChange(itemIdx) | onSelectionChange(itemIdx) | ||||
{ | { | ||||
g_GameSettings.population.setPopCap(false, g_PopulationCapacities.Population[itemIdx]); | g_GameSettings.population.setPopCap(false, g_PopulationCapacities.Population[itemIdx]); | ||||
this.gameSettingsControl.setNetworkGameAttributes(); | this.gameSettingsControl.setNetworkInitAttributes(); | ||||
} | } | ||||
}; | }; | ||||
GameSettingControls.PopulationCap.prototype.TitleCaption = | GameSettingControls.PopulationCap.prototype.TitleCaption = | ||||
translate("Population Cap"); | translate("Population Cap"); | ||||
GameSettingControls.PopulationCap.prototype.Tooltip = | GameSettingControls.PopulationCap.prototype.Tooltip = | ||||
translate("Select population limit."); | translate("Select population limit."); | ||||
Show All 16 Lines |
Wildfire Games · Phabricator