Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit a22503a

Browse files
committed
Minor cleanup
1 parent 2ceeb60 commit a22503a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lua/LuaAdapters.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ namespace RTE {
307307
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
308308

309309
bool LuaAdaptersMovableObject::AddScript(MovableObject *luaSelfObject, const std::string &scriptPath) {
310-
switch (std::string correctedScriptPath = g_PresetMan.GetFullModulePath(scriptPath); luaSelfObject->LoadScript(luaSelfObject->CorrectBackslashesInPath(correctedScriptPath))) {
310+
switch (std::string correctedScriptPath = g_PresetMan.GetFullModulePath(scriptPath); luaSelfObject->LoadScript(correctedScriptPath)) {
311311
case 0:
312312
return true;
313313
case -1:

0 commit comments

Comments
 (0)