From 01b40ffa08c9631572ce3c654f0066fe6af8d5df Mon Sep 17 00:00:00 2001
From: wincent <wincent.holm@gmail.com>
Date: Sun, 22 Oct 2023 17:38:19 +0200
Subject: [PATCH] Merge fix

---
 dGame/dGameMessages/GameMessages.cpp | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/dGame/dGameMessages/GameMessages.cpp b/dGame/dGameMessages/GameMessages.cpp
index 5e796d42..16a909fb 100644
--- a/dGame/dGameMessages/GameMessages.cpp
+++ b/dGame/dGameMessages/GameMessages.cpp
@@ -5174,17 +5174,6 @@ void GameMessages::HandleRespondToMission(RakNet::BitStream* inStream, Entity* e
 	inStream->Read(isDefaultReward);
 	if (isDefaultReward) inStream->Read(reward);
 
-	Entity* offerer = Game::entityManager->GetEntity(receiverID);
-
-	if (offerer == nullptr) {
-		Game::logger->Log("GameMessages", "Unable to get receiver entity %llu for RespondToMission", receiverID);
-		return;
-	}
-
-	for (CppScripts::Script* script : CppScripts::GetEntityScripts(offerer)) {
-		script->OnRespondToMission(offerer, missionID, Game::entityManager->GetEntity(playerID), reward);
-	}
-
 	MissionComponent* missionComponent = static_cast<MissionComponent*>(entity->GetComponent(eReplicaComponentType::MISSION));
 	if (!missionComponent) {
 		LOG("Unable to get mission component for entity %llu to handle RespondToMission", playerID);