mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
mono/il2cpp config
This commit is contained in:
1 parent
e16d9119d1
commit
65281aeebc
59 files changed
+773
-146
No files matched your search
@@ -23,7 +23,11 @@ public static class GameOptionsMapPickerPatch
|
||||
[HarmonyPrefix]
|
||||
public static void Postfix_Prefix(GameOptionsMapPicker __instance)
|
||||
{
|
||||
#if IL2CPP
|
||||
if (__instance.AllMapIcons.TrueForAll((Il2CppSystem.Predicate<MapIconByName>)(x => x.Name != MapNames.Dleks)))
|
||||
#else
|
||||
if (__instance.AllMapIcons.TrueForAll(x => x.Name != MapNames.Dleks))
|
||||
#endif
|
||||
{
|
||||
__instance.AllMapIcons.Insert((int)MapNames.Dleks, new MapIconByName
|
||||
{
|
||||
@@ -35,7 +39,11 @@ public static class GameOptionsMapPickerPatch
|
||||
}
|
||||
if (SubmergedCompatibility.Loaded)
|
||||
{
|
||||
#if IL2CPP
|
||||
if (__instance.AllMapIcons.TrueForAll((Il2CppSystem.Predicate<MapIconByName>)(x => x.Name != (MapNames)6)))
|
||||
#else
|
||||
if (__instance.AllMapIcons.TrueForAll(x => x.Name != (MapNames)6))
|
||||
#endif
|
||||
{
|
||||
__instance.AllMapIcons.Insert((int)(MapNames)6, new MapIconByName
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user