lap storage working
This commit is contained in:
1 parent
db59cd1377
commit
c611014b88
2 files changed
+59
-56
No files matched your search
@@ -49,12 +49,8 @@ public class ShipUi : MonoBehaviour {
|
||||
if (sectors == null)
|
||||
Debug.LogWarning("null sectors");
|
||||
|
||||
// timing not ready yet or smth?
|
||||
if (timing.lapTimes == null)
|
||||
return;
|
||||
|
||||
timeSheet.Clear();
|
||||
foreach (Lap lap in timing.lapTimes) {
|
||||
foreach (Lap lap in LapStorageService.GetPlayerLaps(timing.mapName).Laps) {
|
||||
Label l = new Label();
|
||||
l.text = $"{lap}";
|
||||
timeSheet.Add(l);
|
||||
|
||||
Reference in new issue
Block a user