Differential D4097 Diff 18048 binaries/data/mods/public/gui/gamesetup/Pages/GameSetupPage/GameSettings/Single/Checkboxes/LockedTeams.js
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/gamesetup/Pages/GameSetupPage/GameSettings/Single/Checkboxes/LockedTeams.js
Show All 24 Lines | onPress(checked) | ||||
this.gameSettingsController.setNetworkInitAttributes(); | this.gameSettingsController.setNetworkInitAttributes(); | ||||
} | } | ||||
}; | }; | ||||
GameSettingControls.LockedTeams.prototype.TitleCaption = | GameSettingControls.LockedTeams.prototype.TitleCaption = | ||||
translate("Teams Locked"); | translate("Teams Locked"); | ||||
GameSettingControls.LockedTeams.prototype.Tooltip = | GameSettingControls.LockedTeams.prototype.Tooltip = | ||||
translate("Toggle locked teams."); | translate("Whether teams are locked or can be changed during the game."); | ||||
/** | /** | ||||
* In multiplayer mode, players negotiate teams before starting the match and | * In multiplayer mode, players negotiate teams before starting the match and | ||||
* expect to play the match with these teams unless explicitly stated otherwise during the match settings. | * expect to play the match with these teams unless explicitly stated otherwise during the match settings. | ||||
* For singleplayermode, preserve the historic default of open diplomacies. | * For singleplayermode, preserve the historic default of open diplomacies. | ||||
*/ | */ | ||||
GameSettingControls.LockedTeams.prototype.DefaultValue = Engine.HasNetClient(); | GameSettingControls.LockedTeams.prototype.DefaultValue = Engine.HasNetClient(); |
Wildfire Games · Phabricator