Skip to content

Commit

Permalink
Fixed classname not resetting bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shavitush committed Dec 7, 2018
1 parent 46c244a commit 7e8eb0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/sourcemod/scripting/shavit-misc.sp
Original file line number Diff line number Diff line change
Expand Up @@ -2261,6 +2261,7 @@ public Action Shavit_OnStart(int client)
if(gB_ResetTargetname || Shavit_IsPracticeMode(client)) // practice mode can be abused to break map triggers
{
DispatchKeyValue(client, "targetname", "");
SetEntPropString(client, Prop_Data, "m_iClassname", "player");
}

return Plugin_Continue;
Expand Down

0 comments on commit 7e8eb0c

Please sign in to comment.