Added case for selecting a panel past the max selections

This commit is contained in:
David Higueros committed 2026-07-18 17:51:13 -06:00
1 parent 6b3ce1971d
commit a776edc1f6
1 file changed
+5
+5
View File
@@ -168,6 +168,11 @@ public abstract class CustomMultiSelectMenu<TEntry>(IntPtr il2CppPtr)
return;
}
if (selectedEntries.Count >= totalSelections) // Do not go past total selections.
{
return;
}
selectedEntries.Add(menuEntry);
if (selectedEntries.Count < totalSelections) // Add choice to list of selections
{