Skip to content
Snippets Groups Projects
Commit 6403a38c authored by LJ Sonic's avatar LJ Sonic
Browse files

Fix again

parent a9b35a6f
No related branches found
No related tags found
1 merge request!1593Fix incorrect error message during Lua archiving
...@@ -1390,7 +1390,7 @@ static void ArchiveTables(void) ...@@ -1390,7 +1390,7 @@ static void ArchiveTables(void)
if (e == 1) if (e == 1)
n++; // the table contained a new table we'll have to archive. :( n++; // the table contained a new table we'll have to archive. :(
else if (e == 2) // invalid value type else if (e == 2) // invalid value type
CONS_Alert(CONS_ERROR, "Type of value for table %d entry '%s' (%s) could not be archived!\n", i, lua_tostring(gL, -1), luaL_typename(gL, -1)); CONS_Alert(CONS_ERROR, "Type of value for table %d entry '%s' (%s) could not be archived!\n", i, lua_tostring(gL, -2), luaL_typename(gL, -1));
lua_pop(gL, 1); lua_pop(gL, 1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment