diff --git a/jme3-core/src/main/java/com/jme3/system/AppSettings.java b/jme3-core/src/main/java/com/jme3/system/AppSettings.java index 1e058f329..a9f1f8f95 100644 --- a/jme3-core/src/main/java/com/jme3/system/AppSettings.java +++ b/jme3-core/src/main/java/com/jme3/system/AppSettings.java @@ -274,7 +274,7 @@ public final class AppSettings extends HashMap { */ public void mergeFrom(AppSettings other) { for (String key : other.keySet()) { - if (get(key) == null) { + if( !this.containsKey(key) ) { put(key, other.get(key)); } }