summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Nelson <peter1138@openttd.org>2019-02-02 15:39:16 +0000
committerPeterN <peter@fuzzle.org>2019-02-02 16:58:04 +0000
commit9dc36057eb60c85bae8f378ffb1fe067ae6a41c1 (patch)
tree608aba2788ae07d0173b8caca9c21c88e6d74f0d /src
parente8f1c446a6e164b5c37cc6d14010709becc52998 (diff)
downloadopenttd-9dc36057eb60c85bae8f378ffb1fe067ae6a41c1.tar.xz
Fix #7058, Fix #7161: Network chat messages did not expire.
Diffstat (limited to 'src')
-rw-r--r--src/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 2d0331033..3f4adf5e9 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -3100,7 +3100,7 @@ void UpdateWindows()
CallWindowRealtimeTickEvent(delta_ms);
-#ifdef ENABLE_NETWORKING
+#ifdef ENABLE_NETWORK
static GUITimer network_message_timer = GUITimer(1);
if (network_message_timer.Elapsed(delta_ms)) {
network_message_timer.SetInterval(1000);