mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Adds a missed cleanup for currentNewObj.
This commit is contained in:
parent
3cfc6f787c
commit
810ac82eae
1 changed files with 1 additions and 0 deletions
|
|
@ -871,6 +871,7 @@ breakContinue:
|
||||||
{
|
{
|
||||||
Con::errorf(ConsoleLogEntry::General, "%s: Unable to instantiate non-SimObject class %s.", getFileLine(ip), (const char*)callArgv[1]);
|
Con::errorf(ConsoleLogEntry::General, "%s: Unable to instantiate non-SimObject class %s.", getFileLine(ip), (const char*)callArgv[1]);
|
||||||
delete object;
|
delete object;
|
||||||
|
currentNewObject = NULL;
|
||||||
ip = failJump;
|
ip = failJump;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue