Skip to content

Commit

Permalink
[BUGFIX] Only update ui for sector widget for the (spec)player.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvlk committed May 30, 2017
1 parent 2ffbe51 commit a70b16d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ main() {

while(True) {
foreach (Event in RaceEvents) {
if (GUIPlayer == Null || Event.Player != GUIPlayer) {
continue;
}
if (Event.Type == CTmRaceClientEvent::EType::Respawn) {
if (GUIPlayer != Null && GUIPlayer.RaceState != CTmMlPlayer::ERaceState::Running) {
CurrentCheckpointScores = Integer[];
Expand Down

0 comments on commit a70b16d

Please sign in to comment.