Changed many uses of Dialog::OK and LOG->Warn to use ReportScriptError.
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ int CheckEnum( lua_State *L, LuaReference &table, int iPos, int iInvalid, const
|
||||
{
|
||||
RString errmsg;
|
||||
LuaHelpers::Pop(L, errmsg);
|
||||
LOG->Warn(errmsg.c_str());
|
||||
LuaHelpers::ReportScriptError(errmsg);
|
||||
lua_pop(L, 2);
|
||||
return iInvalid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user