diff --git a/src/game/client/components/background.cpp b/src/game/client/components/background.cpp index d0acd143e..73f658c61 100644 --- a/src/game/client/components/background.cpp +++ b/src/game/client/components/background.cpp @@ -80,9 +80,11 @@ void CBackground::LoadBackground() if(m_Loaded) { - CMapLayers::OnMapLoad(); if(NeedImageLoading) + { m_pImages->LoadBackground(m_pLayers, m_pMap); + } + CMapLayers::OnMapLoad(); } } } diff --git a/src/game/client/components/menu_background.cpp b/src/game/client/components/menu_background.cpp index aa63454e8..9d57db9c0 100644 --- a/src/game/client/components/menu_background.cpp +++ b/src/game/client/components/menu_background.cpp @@ -256,8 +256,8 @@ void CMenuBackground::LoadMenuBackground(bool HasDayHint, bool HasNightHint) { m_pLayers->Init(m_pMap, true); - CMapLayers::OnMapLoad(); m_pImages->LoadBackground(m_pLayers, m_pMap); + CMapLayers::OnMapLoad(); // look for custom positions CMapItemLayerTilemap *pTLayer = m_pLayers->GameLayer();