summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index cd7511353..d67c7f2f7 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -3100,11 +3100,13 @@ void UpdateWindows()
CallWindowRealtimeTickEvent(delta_ms);
+#ifdef ENABLE_NETWORKING
static GUITimer network_message_timer = GUITimer(1);
if (network_message_timer.Elapsed(delta_ms)) {
network_message_timer.SetInterval(1000);
NetworkChatMessageLoop();
}
+#endif
Window *w;