Don't translate the yet unused victory condition field sent to the lobby bot (the case since the introduction of the lobby in bffe917914).

This was SVN commit r19642.
This commit is contained in:
elexis 2017-05-23 12:51:16 +00:00
parent 6c7b0fde3d
commit 7b0f6f530c

View file

@ -2220,7 +2220,7 @@ function sendRegisterGameStanzaImmediate()
"niceMapName": getMapDisplayName(g_GameAttributes.map),
"mapSize": g_GameAttributes.mapType == "random" ? g_GameAttributes.settings.Size : "Default",
"mapType": g_GameAttributes.mapType,
"victoryCondition": g_VictoryConditions.Title[g_VictoryConditions.Name.indexOf(g_GameAttributes.settings.GameType)],
"victoryCondition": g_GameAttributes.settings.GameType,
"nbp": clients.connectedPlayers,
"maxnbp": g_GameAttributes.settings.PlayerData.length,
"players": clients.list,