NPE check on AudioNode read

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8228 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
bre..ns 13 years ago
parent 2c0f6d2d4d
commit 2e1c4e8c29
  1. 1
      engine/src/core/com/jme3/audio/AudioNode.java

@ -758,6 +758,7 @@ public class AudioNode extends Node {
positional = ic.readBoolean("positional", false);
if (key != null)
data = im.getAssetManager().loadAudio(key);
}

Loading…
Cancel
Save