gamesetup panel should indicate the AI level without having to open the AI-config panel
Reviewed By: elexis Differential Revision: https://code.wildfiregames.com/D1066 This was SVN commit r20529.
This commit is contained in:
parent
89055ef858
commit
6a10797355
@ -955,6 +955,10 @@ var g_PlayerMiscElements = {
|
||||
"onPress": (playerIdx) => function() {
|
||||
openAIConfig(playerIdx);
|
||||
},
|
||||
"tooltip": (playerIdx) => sprintf(translate("Configure AI: %(name)s - %(difficulty)s."), {
|
||||
"name": translateAIName(g_GameAttributes.settings.PlayerData[playerIdx].AI),
|
||||
"difficulty": translateAIDifficulty(g_GameAttributes.settings.PlayerData[playerIdx].AIDiff)
|
||||
}),
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user