summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windows/chatwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index bd0f68453..fe95b4e97 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -915,6 +915,8 @@ void ChatWindow::attributeChanged(const int id,
const int oldVal,
const int newVal)
{
+ if (!mShowBattleEvents)
+ return;
switch (id)
{
case Attributes::EXP: