mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 14:09:06 +00:00
Fix crash in script warning
This commit is contained in:
parent
e29d4e65bd
commit
cb745baa5e
1 changed files with 1 additions and 1 deletions
|
@ -658,7 +658,7 @@ luaFunc(newindexWarnGlobal)
|
|||
{
|
||||
std::ostringstream os;
|
||||
os << "WARNING: script set global "
|
||||
<< lua_typename(L, -2)
|
||||
<< lua_typename(L, lua_type(L, -2))
|
||||
<< " " << varname;
|
||||
scriptError(L, os.str());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue