Changeset 25010

Timestamp:
Mar 4, 2021, 7:31:33 PM (3 years ago)
Author:
wraitii
Message:

Fix map previews/descriptions in the lobby game list.

Map previews are broken in the lobby game list, except for maps with specific previews (such as biome RMs). Descriptions were broken in general. The error lies in rP24821, which forgot to add the xml extension.

Differential Revision: https://code.wildfiregames.com/D3632

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/binaries/data/mods/public/gui/common/settings.js

    r24821 r25010  
    177177            "Suffix": ".xml",
    178178            "GetData": Engine.LoadMapSettings,
    179             "CheckIfExists": mapPath => Engine.FileExists(mapPath)
     179            "CheckIfExists": mapPath => Engine.FileExists(mapPath)
    180180        },
    181181        {
     
    195195            "Suffix": ".xml",
    196196            "GetData": Engine.LoadMapSettings,
    197             "CheckIfExists": mapPath => Engine.FileExists(mapPath)
     197            "CheckIfExists": mapPath => Engine.FileExists(mapPath)
    198198        }
    199199    ];
Note: See TracChangeset for help on using the changeset viewer.