From 1d4d1414e9ea1701872187e241bf0a6d58fbcae5 Mon Sep 17 00:00:00 2001 From: David Markowitz Date: Mon, 7 Aug 2023 20:45:26 -0700 Subject: [PATCH] lol lmao --- dGame/Entity.cpp | 1 - dScripts/ai/MINIGAME/SG_GF/SERVER/SGCannon.cpp | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/dGame/Entity.cpp b/dGame/Entity.cpp index 33cef963..36099ed8 100644 --- a/dGame/Entity.cpp +++ b/dGame/Entity.cpp @@ -708,7 +708,6 @@ void Entity::Initialize() { MovingPlatformComponent* plat = new MovingPlatformComponent(this, pathName); m_Components.insert(std::make_pair(eReplicaComponentType::MOVING_PLATFORM, plat)); } else if (path->pathType == PathType::Movement) { - Game::logger->Log("Entity", "is movement %i", GetLOT()); auto movementAIcomp = GetComponent(); if (!movementAIcomp) { movementAIcomp = new MovementAIComponent(this, {}); diff --git a/dScripts/ai/MINIGAME/SG_GF/SERVER/SGCannon.cpp b/dScripts/ai/MINIGAME/SG_GF/SERVER/SGCannon.cpp index 6312d4f6..1b838d80 100644 --- a/dScripts/ai/MINIGAME/SG_GF/SERVER/SGCannon.cpp +++ b/dScripts/ai/MINIGAME/SG_GF/SERVER/SGCannon.cpp @@ -310,10 +310,8 @@ void SGCannon::OnActivityTimerDone(Entity* self, const std::string& name) { }); // Save the enemy and tell it to start pathing - if (enemy != nullptr) { - const_cast&>(self->GetVar>(SpawnedObjects)).push_back(enemy->GetObjectID()); - GameMessages::SendPlatformResync(enemy, UNASSIGNED_SYSTEM_ADDRESS); - } + const_cast&>(self->GetVar>(SpawnedObjects)).push_back(enemy->GetObjectID()); + GameMessages::SendPlatformResync(enemy, UNASSIGNED_SYSTEM_ADDRESS); } } else if (name == EndGameBufferTimer) { RecordPlayerScore(self);