mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 13:30:34 +00:00
Revert "trip onadd in additional places"
This reverts commit 4f639a16b5.
This commit is contained in:
parent
7cad861536
commit
67a74a0553
4 changed files with 0 additions and 25 deletions
|
|
@ -125,11 +125,6 @@ IMPLEMENT_CALLBACK( GameBase, setControl, void, ( bool controlled ), ( controlle
|
|||
"client controls this object.\n" );
|
||||
|
||||
|
||||
IMPLEMENT_CALLBACK(GameBase, onAdd, void, (SimObjectId ID), (ID),
|
||||
"Called when this ScriptObject is added to the system.\n"
|
||||
"@param ID Unique object ID assigned when created (%this in script).\n"
|
||||
);
|
||||
|
||||
GameBaseData::GameBaseData()
|
||||
{
|
||||
mCategory = StringTable->EmptyString();
|
||||
|
|
@ -523,7 +518,6 @@ void GameBase::scriptOnAdd()
|
|||
// everything is ready.
|
||||
if (mDataBlock && !isGhost())
|
||||
mDataBlock->onAdd_callback( this );
|
||||
onAdd_callback(getId());
|
||||
}
|
||||
|
||||
void GameBase::scriptOnNewDataBlock(bool reload)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue