summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index 8f358eda..4a5e06a4 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -32,6 +32,7 @@
#include "gui/widgets/textfield.h"
#include "configuration.h"
+#include "engine.h"
#include "graphics.h"
#include "localplayer.h"
#include "log.h"
@@ -464,9 +465,11 @@ void Setup_Video::action(const gcn::ActionEvent &event)
{
config.setValue("particleeffects",
mParticleEffectsCheckBox->isSelected());
- new OkDialog(_("Particle effect settings changed."),
- _("Restart your client or change maps "
- "for the change to take effect."));
+ if (engine)
+ {
+ new OkDialog(_("Particle effect settings changed."),
+ _("Changes will take effect on map change."));
+ }
}
else if (event.getId() == "pickupchat")
{