From f050be77db474e45c2f525c396f30e33a48e8186 Mon Sep 17 00:00:00 2001 From: Alejo <53284952+aleeperezz16@users.noreply.github.com> Date: Sun, 13 Mar 2022 11:35:42 -0300 Subject: [PATCH] fix respawn protection icon hiding (#695) Co-authored-by: Sergey Shorokhov --- regamedll/dlls/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regamedll/dlls/player.cpp b/regamedll/dlls/player.cpp index 9a97f2c8..802d008a 100644 --- a/regamedll/dlls/player.cpp +++ b/regamedll/dlls/player.cpp @@ -10225,7 +10225,7 @@ void EXT_FUNC CBasePlayer::__API_HOOK(SetSpawnProtection)(float flProtectionTime pev->rendermode = kRenderTransAdd; pev->renderamt = 100.0f; - MESSAGE_BEGIN(MSG_ONE_UNRELIABLE, gmsgStatusIcon, nullptr, pev); + MESSAGE_BEGIN(MSG_ONE, gmsgStatusIcon, nullptr, pev); WRITE_BYTE(STATUSICON_FLASH); WRITE_STRING("suithelmet_full"); WRITE_BYTE(0);