mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Adds a missed cleanup for currentNewObj.
This commit is contained in:
parent
3cfc6f787c
commit
810ac82eae
|
|
@ -871,6 +871,7 @@ breakContinue:
|
|||
{
|
||||
Con::errorf(ConsoleLogEntry::General, "%s: Unable to instantiate non-SimObject class %s.", getFileLine(ip), (const char*)callArgv[1]);
|
||||
delete object;
|
||||
currentNewObject = NULL;
|
||||
ip = failJump;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue