From d2b34fb344fb57b6553e7bfd09f50ed1bf2e685d Mon Sep 17 00:00:00 2001 From: hexagon-recursion Date: Wed, 21 Aug 2024 17:52:42 +0300 Subject: [PATCH] Missed one --- colobot-base/src/level/robotmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colobot-base/src/level/robotmain.cpp b/colobot-base/src/level/robotmain.cpp index 7a17b33f0..041276a8f 100644 --- a/colobot-base/src/level/robotmain.cpp +++ b/colobot-base/src/level/robotmain.cpp @@ -3163,7 +3163,7 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject) if (line->GetCommand() == "ForegroundName" && !resetObject) { - m_engine->SetForegroundName(line->GetParam("image")->AsPath("textures")); + m_engine->SetForegroundName(TempToString(line->GetParam("image")->AsPath("textures"))); continue; }