mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
fix
This commit is contained in:
1 parent
a3897950c0
commit
b53f86e8cf
1 file changed
+1
-1
@@ -22,7 +22,7 @@ internal static class CreateOptionsPickerPatch
|
||||
[HarmonyPrefix]
|
||||
public static void Prefix_SelectMap([HarmonyArgument(0)] ref int mapId)
|
||||
{
|
||||
if (mapId > 5) mapId = 0;
|
||||
if (mapId is > 5 or 3) mapId = 0;
|
||||
}
|
||||
|
||||
[HarmonyPatch(typeof(GameOptionsMapPicker), nameof(GameOptionsMapPicker.SetupMapButtons))]
|
||||
|
||||
Reference in new issue
Block a user