mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
16 lines
395 B
C#
16 lines
395 B
C#
using HarmonyLib;
|
|
|
|
namespace NewHorizons.Patches.VolumePatches
|
|
{
|
|
[HarmonyPatch(typeof(BlackHoleVolume))]
|
|
public static class BlackHoleVolumePatches
|
|
{
|
|
[HarmonyPrefix]
|
|
[HarmonyPatch(nameof(BlackHoleVolume.Start))]
|
|
public static bool BlackHoleVolume_Start(BlackHoleVolume __instance)
|
|
{
|
|
return __instance._whiteHole == null;
|
|
}
|
|
}
|
|
}
|