From e83eeaed39dc631968b7694fbab17a15ce5108b1 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Thu, 15 Sep 2022 16:45:32 +0300 Subject: [PATCH] fix: update scoreboard attributes on defuser pickup (#770) --- regamedll/dlls/items.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/regamedll/dlls/items.cpp b/regamedll/dlls/items.cpp index f6caf00e..fc67bc57 100644 --- a/regamedll/dlls/items.cpp +++ b/regamedll/dlls/items.cpp @@ -495,6 +495,8 @@ BOOL CItemThighPack::MyTouch(CBasePlayer *pPlayer) MESSAGE_END(); pPlayer->SendItemStatus(); + pPlayer->SetScoreboardAttributes(); + EMIT_SOUND(pPlayer->edict(), CHAN_VOICE, "items/kevlar.wav", VOL_NORM, ATTN_NORM); if (TheTutor)