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

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

This commit is contained in:
truelight
2006-07-13 17:53:32 +00:00
parent 954a750902
commit 05c7d42954

View File

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