Skip to content

Commit

Permalink
Fix ResetProps
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexer10 committed Feb 10, 2018
1 parent 4f8cd88 commit c6e1a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/hexprops.sp
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ void ResetProps()
{
int iEnt = EntRefToEntIndex(PropsArray.Get(i));

if (iEnt == INVALID_ENT_REFERENCE)
if (iEnt != INVALID_ENT_REFERENCE)
AcceptEntityInput(iEnt, "kill");
}
PropsArray.Clear();
Expand Down

0 comments on commit c6e1a30

Please sign in to comment.