mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
* [Projectile] BugFix: Correct the onAdd callback not being raised for projectiles.
This commit is contained in:
parent
f83b528f3c
commit
55063601e6
1 changed files with 2 additions and 0 deletions
|
|
@ -786,6 +786,8 @@ bool Projectile::onAdd()
|
||||||
// If we're on the server, we need to inherit some of our parent's velocity
|
// If we're on the server, we need to inherit some of our parent's velocity
|
||||||
//
|
//
|
||||||
mCurrTick = 0;
|
mCurrTick = 0;
|
||||||
|
|
||||||
|
scriptOnAdd();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue