Przeglądaj źródła

* [Projectile] BugFix: Correct the onAdd callback not being raised for projectiles.

Robert MacGregor 4 lat temu
rodzic
commit
55063601e6
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      Engine/source/T3D/projectile.cpp

+ 2 - 0
Engine/source/T3D/projectile.cpp

@@ -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
    {