added a comment to BramblePatches explaining how to fix bramble in the future if someone wants to do that

This commit is contained in:
FreezeDriedMangoes 2022-07-15 09:04:47 -04:00
parent 0e7798e904
commit eb02af36b1

View File

@ -10,6 +10,12 @@ namespace NewHorizons.Patches
[HarmonyPatch]
public class BramblePatches
{
//
// this file is not great. the real solution to the issues these patches address should be solved by replacing bramble nodes' InnerFogWarpVolume
// components with a custom NHInnerFogWarpVolume component, and implement the below functions as overrides in the NHInnerFogWarpVolume class
// that would fix the issue of seeds having inappropriate screen fog
//
[HarmonyPrefix]
[HarmonyPatch(typeof(SphericalFogWarpVolume), nameof(SphericalFogWarpVolume.IsProbeOnly))]
public static bool SphericalFogWarpVolume_IsProbeOnly(SphericalFogWarpVolume __instance, ref bool __result)