Skip to content
This repository has been archived by the owner on Nov 20, 2021. It is now read-only.

Commit

Permalink
Fix ring direction property
Browse files Browse the repository at this point in the history
  • Loading branch information
Top-Cat authored and Aeroluna committed Mar 27, 2021
1 parent 6d0ac10 commit 3900969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Chroma/HarmonyPatches/TrackLaneRingsRotationEffectSpawner.cs
Expand Up @@ -65,13 +65,13 @@ internal static class TrackLaneRingsRotationEffectSpawnerHandleBeatmapObjectCall
int? dir = chromaData.Direction;

bool rotRight;
if (dir.HasValue)
if (!dir.HasValue)
{
rotRight = UnityEngine.Random.value < 0.5f;
}
else
{
rotRight = dir == 1 ? true : false;
rotRight = dir == 1;
}

bool? counterSpin = chromaData.CounterSpin;
Expand Down

0 comments on commit 3900969

Please sign in to comment.