smoke purpp
This commit is contained in:
1 parent
dba4e3fe2b
commit
d086069e18
9 files changed
+92
-85
No files matched your search
@@ -64,7 +64,7 @@ public class TimingUI : MonoBehaviour {
|
||||
if (timerSectors == null)
|
||||
Debug.LogWarning("null timerSectors");
|
||||
|
||||
Lap timerPbLap = timing.PB();
|
||||
Lap timerPbLap = timing.Pb;
|
||||
if (timerPbLap != null)
|
||||
timerPb.text = $"{timerPbLap.ToString()}";
|
||||
|
||||
@@ -73,7 +73,7 @@ public class TimingUI : MonoBehaviour {
|
||||
foreach (Sector sector in timing.sectors) {
|
||||
Label l = timing.sectorTimes
|
||||
.Where(s => s.Sector == sector.sector)
|
||||
.Select(s => timing.PBSectorDiff(s).ToLabel())
|
||||
.Select(s => timing.CompareSector(s).ToLabel())
|
||||
.DefaultIfEmpty(new Label("-"))
|
||||
.Single();
|
||||
|
||||
@@ -87,11 +87,11 @@ public class TimingUI : MonoBehaviour {
|
||||
|
||||
noticeTime.text = lap.ToString();
|
||||
noticeDiff.Clear();
|
||||
noticeDiff.Add(timing.PBLapDiff(lap).ToLabel());
|
||||
noticeDiff.Add(timing.CompareLap(lap).ToLabel());
|
||||
|
||||
noticeSectors.Clear();
|
||||
foreach (SectorTime sector in lap.Sectors) {
|
||||
Label l = timing.PBSectorDiff(sector).ToLabel();
|
||||
Label l = timing.CompareSector(sector).ToLabel();
|
||||
noticeSectors.Add(l);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user