Update Hooks.hpp

This commit is contained in:
0TheSpy
2022-11-14 00:21:42 +03:00
committed by GitHub
parent c0f1fbc13a
commit 6c237d0baa

View File

@ -515,7 +515,7 @@ bool __stdcall hkCreateMove(float frame_time, CUserCmd* pCmd)
iff.g_pClient->DispatchUserMessage(CS_UM_ServerRankRevealAll, 0, 0, nullptr); iff.g_pClient->DispatchUserMessage(CS_UM_ServerRankRevealAll, 0, 0, nullptr);
if (g_Options.speclist && interval) if (g_Options.speclist && interval && localplayer->GetHealth() > 0)
{ {
string spectatorList = "Spectating you:\n \n"; string spectatorList = "Spectating you:\n \n";
bool isSomeoneSpectatingYou = false; bool isSomeoneSpectatingYou = false;