Skip to content

Commit

Permalink
Fix error in tripmines
Browse files Browse the repository at this point in the history
  • Loading branch information
Bara committed Mar 30, 2020
1 parent 2595591 commit 005d65d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions addons/sourcemod/scripting/ttt/ttt_tripmines.sp
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ public Action OnTraceAttack(int victim, int& attacker, int& inflictor, float& da

public Action Command_TripMine(int client, int args)
{
if (TTT_GetRoundStatus() != Round_Active)
{
return Plugin_Handled;
}

if (!TTT_IsClientValid(client) || !IsPlayerAlive(client))
{
return Plugin_Handled;
Expand Down

0 comments on commit 005d65d

Please sign in to comment.