From c9e4cde68d30f9b2737c71e7fe61782a6cfc1919 Mon Sep 17 00:00:00 2001 From: David Markowitz Date: Fri, 2 May 2025 18:11:55 -0700 Subject: [PATCH] Update SGCannon.cpp --- dScripts/ai/MINIGAME/SG_GF/SERVER/SGCannon.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) {