fix gm list

This commit is contained in:
Gurge44 committed 2026-01-14 10:42:48 +01:00
1 parent 15e073c932
commit 7e7f30b75e
1 file changed
+10 -1
+10 -1
View File
@@ -1182,8 +1182,17 @@ public static class GameSettingMenuPatch
if (SubmergedCompatibility.Loaded && Main.NormalOptions.MapId == 6)
gms.RemoveAll(SubmergedCompatibility.IsNotSupported);
if (Main.LIMap)
{
gms.Remove(CustomGameMode.CaptureTheFlag);
gms.Remove(CustomGameMode.Quiz);
gms.Remove(CustomGameMode.TheMindGame);
gms.Remove(CustomGameMode.BedWars);
gms.Remove(CustomGameMode.Deathrace);
}
int totalCols = Mathf.Max(1, Mathf.CeilToInt(gms.Count / 7f));
int totalCols = 2;
GMButtons = [];