diff options
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/Config.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Config.java b/core/src/ch/asynk/rustanddust/game/Config.java index fccd142..9fd3a43 100644 --- a/core/src/ch/asynk/rustanddust/game/Config.java +++ b/core/src/ch/asynk/rustanddust/game/Config.java @@ -116,6 +116,7 @@ public class Config public void load(String payload) { + if (payload == null) return; JsonValue root = new JsonReader().parse(payload); this.gameMode = GameMode.valueOf(root.getString("mode")); this.debug = root.getBoolean("debug"); |