Revert "trip onadd in additional places"

This reverts commit 4f639a16b5.
This commit is contained in:
AzaezelX 2025-12-27 15:28:27 -06:00
parent 7cad861536
commit 67a74a0553
4 changed files with 0 additions and 25 deletions

View file

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