Merge pull request #590 from Ragora/bugfix-projectile-on-add

* BugFix: Correct the onAdd callback not being raised for Projectiles
This commit is contained in:
Jeff Hutchinson 2021-09-24 23:27:11 -04:00 committed by GitHub
commit e7f002228c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -786,6 +786,8 @@ bool Projectile::onAdd()
// If we're on the server, we need to inherit some of our parent's velocity
//
mCurrTick = 0;
scriptOnAdd();
}
else
{