From f47ab62b4e850ee854df229695e06598870e448a Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Tue, 23 Nov 2021 03:04:33 -0800 Subject: [PATCH] consistency --- QSB/Animation/NPC/Patches/TravelerControllerPatches.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/QSB/Animation/NPC/Patches/TravelerControllerPatches.cs b/QSB/Animation/NPC/Patches/TravelerControllerPatches.cs index baf32ada..79699349 100644 --- a/QSB/Animation/NPC/Patches/TravelerControllerPatches.cs +++ b/QSB/Animation/NPC/Patches/TravelerControllerPatches.cs @@ -24,7 +24,7 @@ namespace QSB.Animation.NPC.Patches gabbro._animator.CrossFadeInFixedTime("Gabbro_Talking", 1.8f); gabbro._hammockAnimator.CrossFadeInFixedTime("GabbroHammock_Talking", 1.8f); } - Locator.GetTravelerAudioManager().StopTravelerAudio(__instance.name); + Locator.GetTravelerAudioManager().StopTravelerAudio(gabbro.name); } else { @@ -58,7 +58,7 @@ namespace QSB.Animation.NPC.Patches gabbro._animator.CrossFadeInFixedTime("Gabbro_Playing", gabbro._delayToRestartAudio, -1, -gabbro._delayToRestartAudio); gabbro._hammockAnimator.CrossFadeInFixedTime("GabbroHammock_Playing", gabbro._delayToRestartAudio, -1, -gabbro._delayToRestartAudio); } - Locator.GetTravelerAudioManager().PlayTravelerAudio(__instance.name, gabbro._delayToRestartAudio); + Locator.GetTravelerAudioManager().PlayTravelerAudio(gabbro.name, gabbro._delayToRestartAudio); if (DialogueConditionManager.SharedInstance.GetConditionState("MAP_PROMPT_REMINDER") || DialogueConditionManager.SharedInstance.GetConditionState("MAP_PROMPT_ATTENTION")) { var conditionState = DialogueConditionManager.SharedInstance.GetConditionState("MAP_PROMPT_ATTENTION");