summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 779bec99c..7ac1273bd 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -100,6 +100,8 @@
#include "utils/langs.h"
#include "utils/timer.h"
+#include "net/ipc.h"
+
#include "debug.h"
// Guichan stuff
@@ -347,6 +349,8 @@ void Gui::slowLogic()
if (mTime != time)
{
logger->flush();
+ if (ipc)
+ ipc->flush();
mTime = time;
}