We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bae3855 commit 741dfa3Copy full SHA for 741dfa3
DXMainClient/DXGUI/Multiplayer/GameInformationPanel.cs
@@ -194,7 +194,7 @@ public void SetInfo(GenericHostedGame game)
194
195
if (mapLoader != null)
196
{
197
- mapTexture = mapLoader.GameModeMaps.Find(m => m.Map.Name == game.Map && m.Map.IsPreviewTextureCached())?.Map?.LoadPreviewTexture();
+ mapTexture = mapLoader.GameModeMaps.Find(m => m.Map.UntranslatedName.Equals(game.Map, StringComparison.InvariantCultureIgnoreCase) && m.Map.IsPreviewTextureCached())?.Map?.LoadPreviewTexture();
198
if (mapTexture == null && noMapPreviewTexture != null)
199
200
Debug.Assert(!noMapPreviewTexture.IsDisposed, "noMapPreviewTexture should not be disposed.");
0 commit comments