Skip to content

Commit

Permalink
Fix error spamming on plugin loadings.
Browse files Browse the repository at this point in the history
  • Loading branch information
splewis committed Mar 21, 2018
1 parent e76de39 commit 1cdc49b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripting/practicemode/bots.sp
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,9 @@ public Action Timer_ResetCollisions(Handle timer, DataPack pack) {
pack.Reset();
int client1 = pack.ReadCell();
int client2 = pack.ReadCell();
if (!IsValidClient(client1) || !IsValidClient(client2)) {
return Plugin_Handled;
}

if (DoPlayersCollide(client1, client2)) {
return Plugin_Continue;
Expand Down

0 comments on commit 1cdc49b

Please sign in to comment.