mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
16 lines
397 B
C#
16 lines
397 B
C#
using HarmonyLib;
|
|
|
|
namespace NewHorizons.Patches.ProxyPatches
|
|
{
|
|
[HarmonyPatch(typeof(ProxyBody))]
|
|
public static class ProxyBodyPatches
|
|
{
|
|
[HarmonyPrefix]
|
|
[HarmonyPatch(nameof(ProxyBody.IsObjectInSupernova))]
|
|
public static bool ProxyBody_IsObjectInSupernova(ProxyBody __instance)
|
|
{
|
|
return Locator.GetSunController() != null;
|
|
}
|
|
}
|
|
}
|