mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-23 05:15:34 +00:00
* BugFix: Correct the vehicle types double-tapping their onAdd and onRemove callbacks - rigidShape handles dispatching the script callbacks.
This commit is contained in:
parent
e0e3ebc69d
commit
2b15c9e89d
3 changed files with 0 additions and 12 deletions
|
|
@ -565,8 +565,6 @@ bool WheeledVehicle::onAdd()
|
|||
return false;
|
||||
|
||||
addToScene();
|
||||
if (isServerObject())
|
||||
scriptOnAdd();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -588,7 +586,6 @@ void WheeledVehicle::onRemove()
|
|||
SFX_DELETE( mSquealSound );
|
||||
|
||||
//
|
||||
scriptOnRemove();
|
||||
removeFromScene();
|
||||
Parent::onRemove();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue