diff options
author | Rubidium <rubidium@openttd.org> | 2021-07-23 22:36:17 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-09-01 22:40:44 +0200 |
commit | 92559e6f3aa1015abbb453f43a51da13f8e5bf87 (patch) | |
tree | 752b4e96084e064d7ad2a11954c2878f05c6a8b0 /src/openttd.cpp | |
parent | 63116bd59f03182eadc529acee333a753e2046c4 (diff) | |
download | openttd-92559e6f3aa1015abbb453f43a51da13f8e5bf87.tar.xz |
Fix #9388: thread unsafe use of NetworkAdminConsole/IConsolePrint
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index db2bb3bdb..189010aad 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -1453,6 +1453,8 @@ void GameLoop() /* Check for UDP stuff */ if (_network_available) NetworkBackgroundLoop(); + DebugSendRemoteMessages(); + if (_networking && !HasModalProgress()) { /* Multiplayer */ NetworkGameLoop(); |