WAReborn / WorldsAdriftReborn

63 stars 15 forks source link

what is IsFSIM #37

Open sp00ktober opened 1 year ago

sp00ktober commented 1 year ago
    [HarmonyPatch(typeof(WorldsAdrift))]
    internal class WorldsAdrift_Patch
    {
        [HarmonyPrefix]
        [HarmonyPatch(nameof(WorldsAdrift.IsFSIM), MethodType.Getter)]
        public static bool IsFSIM(ref bool __result )
        {
            __result = true;
            return false;
        }
    }

This will set WorldsAdrift.IsClient to false and take a different boot path of the game, tho running into missing files and errors.

Just leaving this here for now to not forget about it.