Skip to content

Commit

Permalink
small levelselect fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaMadd committed Feb 5, 2024
1 parent 18fb4aa commit b65635c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Scenes/Overworld.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public override void Update()
{
var it = entries[i];
Calc.Approach(ref it.HighlightEase, index == i ? 1.0f : 0.0f, Time.Delta * 8.0f);
Calc.Approach(ref it.SelectionEase, index == i && state == States.Selected || state == States.Restarting ? 1.0f : 0.0f, Time.Delta * 4.0f);
Calc.Approach(ref it.SelectionEase, index == i && (state == States.Selected || state == States.Restarting) ? 1.0f : 0.0f, Time.Delta * 4.0f);

if (it.SelectionEase >= 0.50f && state == States.Selected)
it.Menu.Update();
Expand Down

0 comments on commit b65635c

Please sign in to comment.