mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Remove parentheses
This commit is contained in:
parent
82f5f34800
commit
44cf3d3fdc
@ -9,13 +9,13 @@ internal class CharacterDialogueTreePatches
|
|||||||
[HarmonyPatch(typeof(CharacterDialogueTree), nameof(CharacterDialogueTree.Awake))]
|
[HarmonyPatch(typeof(CharacterDialogueTree), nameof(CharacterDialogueTree.Awake))]
|
||||||
private static void CharacterDialogueTree_Awake(CharacterDialogueTree __instance)
|
private static void CharacterDialogueTree_Awake(CharacterDialogueTree __instance)
|
||||||
{
|
{
|
||||||
GlobalMessenger<OWRigidbody>.AddListener("AttachPlayerToPoint", (_) => __instance.EndConversation());
|
GlobalMessenger<OWRigidbody>.AddListener("AttachPlayerToPoint", _ => __instance.EndConversation());
|
||||||
}
|
}
|
||||||
|
|
||||||
[HarmonyPrefix]
|
[HarmonyPrefix]
|
||||||
[HarmonyPatch(typeof(CharacterDialogueTree), nameof(CharacterDialogueTree.OnDestroy))]
|
[HarmonyPatch(typeof(CharacterDialogueTree), nameof(CharacterDialogueTree.OnDestroy))]
|
||||||
private static void CharacterDialogueTree_OnDestroy(CharacterDialogueTree __instance)
|
private static void CharacterDialogueTree_OnDestroy(CharacterDialogueTree __instance)
|
||||||
{
|
{
|
||||||
GlobalMessenger<OWRigidbody>.RemoveListener("AttachPlayerToPoint", (_) => __instance.EndConversation());
|
GlobalMessenger<OWRigidbody>.RemoveListener("AttachPlayerToPoint", _ => __instance.EndConversation());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user