use "@path", like the rest of lua
This commit is contained in:
@@ -343,7 +343,7 @@ namespace
|
|||||||
Lua *L = LUA->Get();
|
Lua *L = LUA->Get();
|
||||||
|
|
||||||
RString sError;
|
RString sError;
|
||||||
if( !LuaHelpers::RunScript(L, sScript, sFile, sError, 1) )
|
if( !LuaHelpers::RunScript(L, sScript, "@" + sFile, sError, 1) )
|
||||||
{
|
{
|
||||||
lua_pop( L, 1 );
|
lua_pop( L, 1 );
|
||||||
LUA->Release( L );
|
LUA->Release( L );
|
||||||
|
|||||||
Reference in New Issue
Block a user