make the 'attempt to index a function value' stand out as a lua panid
This commit is contained in:
+1
-1
@@ -222,7 +222,7 @@ static int LuaPanic( lua_State *L )
|
|||||||
RString sErr;
|
RString sErr;
|
||||||
LuaHelpers::Pop( L, sErr );
|
LuaHelpers::Pop( L, sErr );
|
||||||
|
|
||||||
RageException::Throw( "%s", sErr.c_str() );
|
RageException::Throw( "[Lua panic] %s", sErr.c_str() );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Actor registration
|
// Actor registration
|
||||||
|
|||||||
Reference in New Issue
Block a user