mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
seriously no 0s times please
This commit is contained in:
parent
29d50b69c1
commit
76988a509b
@ -1584,6 +1584,11 @@ public int Native_ChangeClientStyle(Handle handler, int numParams)
|
||||
|
||||
public Action Shavit_OnFinishPre(int client, timer_snapshot_t snapshot)
|
||||
{
|
||||
if (snapshot.fCurrentTime <= 0.0)
|
||||
{
|
||||
return Plugin_Stop;
|
||||
}
|
||||
|
||||
float minimum_time = GetStyleSettingFloat(snapshot.bsStyle, snapshot.iTimerTrack == Track_Main ? "minimum_time" : "minimum_time_bonus");
|
||||
|
||||
if (snapshot.fCurrentTime < minimum_time)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user