From a37e139bdd07650c8412f42f73cb8c64bb6a5f5d Mon Sep 17 00:00:00 2001 From: player-03 Date: Mon, 10 Oct 2022 11:18:46 -0400 Subject: [PATCH] Add missing space. --- src/lime/_internal/backend/html5/HTML5AudioSource.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lime/_internal/backend/html5/HTML5AudioSource.hx b/src/lime/_internal/backend/html5/HTML5AudioSource.hx index 3f3e2ba08..bde1499be 100644 --- a/src/lime/_internal/backend/html5/HTML5AudioSource.hx +++ b/src/lime/_internal/backend/html5/HTML5AudioSource.hx @@ -246,7 +246,7 @@ class HTML5AudioSource position.w = value.w; #if lime_howlerjs - if (parent.buffer !=null && parent.buffer.__srcHowl != null && parent.buffer.__srcHowl.pos != null) parent.buffer.__srcHowl.pos(position.x, position.y, position.z, id); + if (parent.buffer != null && parent.buffer.__srcHowl != null && parent.buffer.__srcHowl.pos != null) parent.buffer.__srcHowl.pos(position.x, position.y, position.z, id); // There are more settings to the position of the sound on the "pannerAttr()" function of howler. Maybe somebody who understands sound should look into it? #end