Skip to content
Permalink
Browse files

Fix #441

  • Loading branch information
Bara committed Oct 24, 2019
1 parent 96af187 commit c6088f8f4eb81bc25a86169e40da2134a723e896
Showing with 2 additions and 2 deletions.
  1. +2 −2 addons/sourcemod/scripting/ttt/ttt_revive.sp
@@ -370,9 +370,9 @@ public Action Timer_Revive(Handle timer, DataPack pack)

void ShowReviveMenu(int client, int target)
{
if (!g_bHasRevive[client] && !g_bWait[client])
if (!g_bHasRevive[client] || g_bWait[client] || g_bMenu[target])
{
PrintToChat(client, "[Revive] Something went wrong here. (g_bHasRevive: %d, g_bWait: %d)", g_bHasRevive[client], g_bWait[client]);
PrintToChat(client, "[Revive] Something went wrong here. (g_bHasRevive: %d, g_bWait: %d, g_bWg_bMenuait: %d)", g_bHasRevive[client], g_bMenu[target]);
return;
}

0 comments on commit c6088f8

Please sign in to comment.
You can’t perform that action at this time.