summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-03 13:52:24 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-03 13:52:24 +0100
commit8b941f42f18c9dbac46127e01c6adc480361a66e (patch)
tree6f67a14620aad1400ee5c88ae6c37461336940ae
parent64cc78cf5fae20a950b836a126225a81895e6201 (diff)
downloadRustAndDust-8b941f42f18c9dbac46127e01c6adc480361a66e.zip
RustAndDust-8b941f42f18c9dbac46127e01c6adc480361a66e.tar.gz
OptionsPanel: save config on apply
-rw-r--r--core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java b/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java
index ba0f395..0bdaaf9 100644
--- a/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java
+++ b/core/src/ch/asynk/rustanddust/game/hud/OptionsPanel.java
@@ -178,6 +178,7 @@ public class OptionsPanel extends Patch
public void apply()
{
+ game.db.storeConfig(game.config.unload());
}
public void close()