mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
fix gm list
This commit is contained in:
1 parent
15e073c932
commit
7e7f30b75e
1 file changed
+10
-1
@@ -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 = [];
|
||||
|
||||
|
||||
Reference in new issue
Block a user