Skip to content

Commit 3ddcfbe

Browse files
Fix warning
1 parent 4a20786 commit 3ddcfbe

File tree

1 file changed

+3
-0
lines changed
  • MSURandomizerLibrary/Configs

1 file changed

+3
-0
lines changed

MSURandomizerLibrary/Configs/Msu.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ public bool MatchesFilter(MsuFilter filter, MsuType type, List<string>? compatib
212212
}
213213
}
214214

215+
/// <summary>
216+
/// If the MSU has enough to tracks to be displayed (>= 20% of required tracks or > 10 tracks)
217+
/// </summary>
215218
[JsonIgnore]
216219
public bool HasSufficientTracks => NumUniqueTracks > MsuType?.RequiredTrackNumbers.Count / 5 || NumUniqueTracks > 10;
217220

0 commit comments

Comments
 (0)