From d044ad13e141021dc8235a064fa8dccbb87f29dd Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Sat, 23 Apr 2016 15:36:47 -0400 Subject: [PATCH] Fix issue #479 --- jme3-core/src/main/java/com/jme3/audio/AudioListenerState.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-core/src/main/java/com/jme3/audio/AudioListenerState.java b/jme3-core/src/main/java/com/jme3/audio/AudioListenerState.java index 947cb9231..d0fe26fe8 100644 --- a/jme3-core/src/main/java/com/jme3/audio/AudioListenerState.java +++ b/jme3-core/src/main/java/com/jme3/audio/AudioListenerState.java @@ -70,7 +70,7 @@ public class AudioListenerState extends BaseAppState { @Override public void render(RenderManager rm) { - if (!isEnabled()) { + if (!isEnabled() || listener == null) { return; }