Fix #7058, Fix #7161: Network chat messages did not expire.

This commit is contained in:
Peter Nelson
2019-02-02 15:39:16 +00:00
committed by PeterN
parent e8f1c446a6
commit 9dc36057eb

View File

@@ -3100,7 +3100,7 @@ void UpdateWindows()
CallWindowRealtimeTickEvent(delta_ms); CallWindowRealtimeTickEvent(delta_ms);
#ifdef ENABLE_NETWORKING #ifdef ENABLE_NETWORK
static GUITimer network_message_timer = GUITimer(1); static GUITimer network_message_timer = GUITimer(1);
if (network_message_timer.Elapsed(delta_ms)) { if (network_message_timer.Elapsed(delta_ms)) {
network_message_timer.SetInterval(1000); network_message_timer.SetInterval(1000);