Add back incorrectly removed clause from f7783fb4bb
that was needed for the lobby, refs #4962 / D1583.
This was SVN commit r21861.
This commit is contained in:
parent
f7783fb4bb
commit
f11b59f117
@ -62,7 +62,7 @@ function getMapDescriptionAndPreview(mapType, mapName, gameAttributes = undefine
|
||||
else if (Engine.FileExists(mapName + ".xml"))
|
||||
mapData = Engine.LoadMapSettings(mapName + ".xml");
|
||||
|
||||
let biomePreview = getBiomePreview(mapName, gameAttributes.settings.Biome || "");
|
||||
let biomePreview = getBiomePreview(mapName, gameAttributes && gameAttributes.settings.Biome || "");
|
||||
|
||||
return deepfreeze({
|
||||
"description": mapData && mapData.settings && mapData.settings.Description ? translate(mapData.settings.Description) : translate("Sorry, no description available."),
|
||||
|
Loading…
Reference in New Issue
Block a user