From e23ef7e2d38344ecba8f3649fa5941d1ed9b1633 Mon Sep 17 00:00:00 2001 From: BenCat07 Date: Sat, 18 Sep 2021 12:54:28 +0200 Subject: [PATCH] Readd accidentally removed local player check in Achievement Auth --- src/hooks/SendNetMsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/SendNetMsg.cpp b/src/hooks/SendNetMsg.cpp index ed9057cc..8d7dd680 100644 --- a/src/hooks/SendNetMsg.cpp +++ b/src/hooks/SendNetMsg.cpp @@ -197,7 +197,7 @@ void ProcessAchievement(IGameEvent *ach) player_info_s info; if (!g_IEngine->GetPlayerInfo(player_idx, &info)) return; - if (reply && *answerIdentify /* && player_idx != g_pLocalPlayer->entity_idx*/) + if (reply && *answerIdentify && player_idx != g_pLocalPlayer->entity_idx) { send_achievement_reply_timer.update(); send_achievement_reply = true;