fix best time update condition
This commit is contained in:
parent
8b267a6978
commit
62fc7bbf83
@ -57,7 +57,7 @@ foreach (Event in PendingEvents) {
|
|||||||
|
|
||||||
switch (Event.Type) {
|
switch (Event.Type) {
|
||||||
case CSmModeEvent::EType::OnPlayerTriggersWaypoint: {
|
case CSmModeEvent::EType::OnPlayerTriggersWaypoint: {
|
||||||
if (Event.IsFinish && (Net_Lobby_BestTime.Time == 0 || Net_Lobby_BestTime.Time < Event.WaypointTime)) {
|
if (Event.IsFinish && (Net_Lobby_BestTime.Time == 0 || Net_Lobby_BestTime.Time > Event.WaypointTime)) {
|
||||||
|
|
||||||
Net_Lobby_BestTime = K_BestTime {
|
Net_Lobby_BestTime = K_BestTime {
|
||||||
PlayerName = Event.Player.User.Name,
|
PlayerName = Event.Player.User.Name,
|
||||||
|
Loading…
Reference in New Issue
Block a user