diff --git a/dScripts/ai/MINIGAME/SG_GF/SERVER/SGCannon.cpp b/dScripts/ai/MINIGAME/SG_GF/SERVER/SGCannon.cpp index b99b99c4..14900f67 100644 --- a/dScripts/ai/MINIGAME/SG_GF/SERVER/SGCannon.cpp +++ b/dScripts/ai/MINIGAME/SG_GF/SERVER/SGCannon.cpp @@ -271,11 +271,9 @@ void SGCannon::DoSpawnTimerFunc(Entity* self, const std::string& name) { new LDFData(u"groupID", u"SGEnemy"), new LDFData(u"wave", self->GetVar(ThisWaveVariable)), }; + auto* enemy = Game::entityManager->CreateEntity(info, nullptr, self); - if (info.lot == 2565) { - LOG("id is %llu", enemy->GetObjectID()); - } auto* movementAI = enemy->AddComponent(MovementAIInfo{}); auto* simplePhysicsComponent = enemy->GetComponent(); if (simplePhysicsComponent) {