mirror of https://github.com/axmolengine/axmol.git
retan ActionNode _actionSpawn while create
This commit is contained in:
parent
6480b2c95d
commit
0840baa1ab
|
@ -313,6 +313,7 @@ Spawn * ActionNode::refreshActionProperty()
|
||||||
}
|
}
|
||||||
|
|
||||||
_actionSpawn = Spawn::create(cSpawnArray);
|
_actionSpawn = Spawn::create(cSpawnArray);
|
||||||
|
_actionSpawn->retain();
|
||||||
return _actionSpawn;
|
return _actionSpawn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue