Don't error out of Lua parsing when mobjinfo[] isn't a object definition

This commit is contained in:
spherallic 2023-03-22 20:33:26 +01:00
parent 9afe69ffef
commit 0293c455f6
1 changed files with 1 additions and 2 deletions

View File

@ -139,8 +139,7 @@ namespace CodeImp.DoomBuilder.SRB2
token = ReadToken();
if (token != "=")
{
ReportError("Invalid object definition, missing =");
return false;
continue;
}
SkipWhitespace(true);