fix: update scoreboard attributes on defuser pickup (#770)

This commit is contained in:
Sergey Shorokhov 2022-09-15 16:45:32 +03:00 committed by GitHub
parent 10813019c8
commit e83eeaed39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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