Fix bugs with internalName accessor

This commit is contained in:
Jeff Hutchinson 2021-08-17 20:52:59 -04:00
parent 838395840d
commit 98a2fa0f33
3 changed files with 47 additions and 4 deletions

View file

@ -1614,6 +1614,11 @@ ConsoleValue CodeBlock::exec(U32 ip, const char* functionName, Namespace* thisNa
stack[_STK].setInt(0);
}
}
else
{
Con::errorf(ConsoleLogEntry::Script, "%s: Attempt to use ->, but the group object wasn't found.", getFileLine(ip - 2));
stack[_STK].setInt(0);
}
break;
case OP_SETCUROBJECT_NEW: