Readd accidentally removed local player check in Achievement Auth

This commit is contained in:
BenCat07 2021-09-18 12:54:28 +02:00
parent 6346ae26c3
commit e23ef7e2d3

View File

@ -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;