mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 21:40:31 +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
|
|
@ -512,10 +512,6 @@ bool HoverVehicle::onAdd()
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
if (isServerObject())
|
||||
scriptOnAdd();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -526,7 +522,6 @@ void HoverVehicle::onRemove()
|
|||
SFX_DELETE( mEngineSound );
|
||||
SFX_DELETE( mFloatSound );
|
||||
|
||||
scriptOnRemove();
|
||||
removeFromScene();
|
||||
Parent::onRemove();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue