1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 09:59:10 +00:00

(svn r5488) -Backport (r5487) -Fix: [#8] UDP sockets were used even if network-availability was set to false (tokai)

This commit is contained in:
truelight
2006-07-13 17:54:57 +00:00
parent f0ba57ea82
commit 955d4393e0

View File

@@ -985,7 +985,8 @@ void GameLoop(void)
#ifdef ENABLE_NETWORK
// Check for UDP stuff
NetworkUDPGameLoop();
if (_network_available)
NetworkUDPGameLoop();
if (_networking) {
// Multiplayer