mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 15:04:15 +00:00
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:
@@ -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)
|
||||
}),
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user