Skip to content

Commit 621555f

Browse files
committed
fix: reverting settings to run during Start() instead of Awake()
1 parent 015caa6 commit 621555f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Assets/Scripts/TrajectoryPlanner/Utilities/Settings.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,12 +444,11 @@ private void Awake()
444444
if (Instance != null)
445445
Debug.LogError("Make sure there is only one Settings object in the scene!");
446446
Instance = this;
447-
448-
LoadSettings();
449447
}
450448

451449
private void Start()
452450
{
451+
LoadSettings();
453452
ApplySettings();
454453
}
455454

0 commit comments

Comments
 (0)