mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-08 19:08:27 +00:00
Reset targetname upon restarting with practice mode.
Might not be the ideal solution, hope it is though.
This commit is contained in:
parent
bf46c7aac0
commit
a01bbefe39
@ -1979,7 +1979,7 @@ public Action Shavit_OnStart(int client)
|
|||||||
return Plugin_Stop;
|
return Plugin_Stop;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(gB_ResetTargetname)
|
if(gB_ResetTargetname || Shavit_IsPracticeMode(client)) // practice mode can be abused to break map triggers
|
||||||
{
|
{
|
||||||
DispatchKeyValue(client, "targetname", "");
|
DispatchKeyValue(client, "targetname", "");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user