diff options
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r-- | src/gui/setup.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index 76588a860..33ff6ddb7 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -23,6 +23,7 @@ #include "gui/setup.h" #include "configuration.h" +#include "game.h" #include "main.h" #include "gui/setup_audio.h" @@ -129,6 +130,8 @@ Setup::~Setup() void Setup::action(const gcn::ActionEvent &event) { + if (Game::instance()) + Game::instance()->resetAdjustLevel(); if (event.getId() == "Apply") { setVisible(false); |