Reset targetname upon restarting with practice mode.

Might not be the ideal solution, hope it is though.
This commit is contained in:
shavit 2018-03-10 18:19:05 +02:00
parent bf46c7aac0
commit a01bbefe39

View File

@ -1979,7 +1979,7 @@ public Action Shavit_OnStart(int client)
return Plugin_Stop;
}
if(gB_ResetTargetname)
if(gB_ResetTargetname || Shavit_IsPracticeMode(client)) // practice mode can be abused to break map triggers
{
DispatchKeyValue(client, "targetname", "");
}