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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user