Skip to content

Commit

Permalink
Merge pull request #111 from hackerspace-ntnu/fix/ui-wheel
Browse files Browse the repository at this point in the history
Default uiWheel to first indexed tower when first instantiated
  • Loading branch information
Fueredoriku authored Mar 24, 2022
2 parents 8649bb5 + a8749e1 commit 399d745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/UI/UIControllerWheel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void Awake()

void OnEnable()
{
SelectedSegmentIndex = null;
SelectedSegmentIndex = 0;

// Reset the scale of all menu segments
foreach (GameObject segment in menuSegments)
Expand Down

0 comments on commit 399d745

Please sign in to comment.