mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
dont give points if undefined
This commit is contained in:
parent
3ea721ee22
commit
cd83d4d238
@ -512,6 +512,11 @@ public void Shavit_OnFinish_Post(int client, BhopStyle style, float time, int ju
|
||||
Shavit_PrintToChat(client, "Points: %.02f", CalculatePoints(time, style, gF_IdealTime, gF_MapPoints));
|
||||
#endif
|
||||
|
||||
if(gF_MapPoints <= 0.0 || gF_IdealTime <= 0.0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
float fOldPB = 0.0;
|
||||
Shavit_GetPlayerPB(client, style, fOldPB);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user