Fix Goto ambient emitter button

This commit is contained in:
ook3d 2023-12-22 17:29:15 -05:00
parent af32c5ab32
commit 713cc87df4

View File

@ -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)