mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-06-20 05:44:36 +00:00
lua.cpp: Use backslash directory separator
Paths going into `FindAsset` are expected to use backslashes
This commit is contained in:
+2
-2
@@ -122,8 +122,8 @@ void LuaInitialize()
|
||||
"render", LuaRenderModule(lua),
|
||||
"message", [](std::string_view text) { EventPlrMsg(text, UiFlags::ColorRed); });
|
||||
|
||||
RunScript("lua/init.lua", /*optional=*/false);
|
||||
RunScript("lua/user.lua", /*optional=*/true);
|
||||
RunScript("lua\\init.lua", /*optional=*/false);
|
||||
RunScript("lua\\user.lua", /*optional=*/true);
|
||||
|
||||
LuaEvent("OnGameBoot");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user