From 713cc87df4367ba5027455e6c6a5dd9a0a935664 Mon Sep 17 00:00:00 2001 From: ook3d <47336113+ook3D@users.noreply.github.com> Date: Fri, 22 Dec 2023 17:29:15 -0500 Subject: [PATCH] Fix Goto ambient emitter button --- CodeWalker/Project/Panels/EditAudioEmitterPanel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeWalker/Project/Panels/EditAudioEmitterPanel.cs b/CodeWalker/Project/Panels/EditAudioEmitterPanel.cs index 64e9bbf..46420ed 100644 --- a/CodeWalker/Project/Panels/EditAudioEmitterPanel.cs +++ b/CodeWalker/Project/Panels/EditAudioEmitterPanel.cs @@ -504,7 +504,7 @@ namespace CodeWalker.Project.Panels { if (CurrentEmitter == null) return; if (ProjectForm.WorldForm == null) return; - ProjectForm.WorldForm.GoToPosition(CurrentEmitter.Position, CurrentEmitter.AudioZone.PositioningZoneSize); + ProjectForm.WorldForm.GoToPosition(CurrentEmitter.Position, CurrentEmitter.AudioEmitter.Position); } private void AddToProjectButton_Click(object sender, EventArgs e)