use "@path", like the rest of lua

This commit is contained in:
Glenn Maynard
2006-10-09 07:20:40 +00:00
parent 1f6aaf18b9
commit 255501ead1
+1 -1
View File
@@ -343,7 +343,7 @@ namespace
Lua *L = LUA->Get();
RString sError;
if( !LuaHelpers::RunScript(L, sScript, sFile, sError, 1) )
if( !LuaHelpers::RunScript(L, sScript, "@" + sFile, sError, 1) )
{
lua_pop( L, 1 );
LUA->Release( L );