(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
1 changed files with 2 additions and 1 deletions

View File

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