1
0
forked from mirrors/0ad

Add civ settings in lobby for the selected game

Patch By: ffffffff
Differential Revision: https://code.wildfiregames.com/D1235
This was SVN commit r20967.
This commit is contained in:
bb
2018-01-22 20:37:49 +00:00
parent a08606a9d9
commit 9571c56d7e
2 changed files with 6 additions and 1 deletions
@@ -8,6 +8,11 @@ const g_MapSizes = prepareForDropdown(g_Settings && g_Settings.MapSizes);
*/
const g_MapTypes = prepareForDropdown(g_Settings && g_Settings.MapTypes);
/**
* Used for civ settings display of the selected game.
*/
const g_CivData = loadCivData(false, false);
/**
* A symbol which is prepended to the username of moderators.
*/
@@ -1412,7 +1412,7 @@ function sendLobbyPlayerlistUpdate()
let pData = g_GameAttributes.settings.PlayerData[playerID];
let minPData = { "Name": pData.Name };
let minPData = { "Name": pData.Name, "Civ": pData.Civ };
if (g_GameAttributes.settings.LockTeams)
minPData.Team = pData.Team;