mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-07 04:34:44 +00:00
safety
This commit is contained in:
parent
6d708af9ba
commit
0175c109ac
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ public:
|
|||
{
|
||||
if (parent) parent->remove(this);
|
||||
parent = p;
|
||||
parent->push_back(this);
|
||||
if (parent) parent->push_back(this);
|
||||
}
|
||||
|
||||
//children logic
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue