diff options
Diffstat (limited to 'src/openttd.c')
-rw-r--r-- | src/openttd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openttd.c b/src/openttd.c index cbea7485f..2208fd3cf 100644 --- a/src/openttd.c +++ b/src/openttd.c @@ -747,10 +747,10 @@ void SwitchMode(int new_mode) if (_networking) { if (_network_server && (new_mode == SM_LOAD || new_mode == SM_NEWGAME)) { NetworkReboot(); - NetworkUDPClose(); + NetworkUDPStop(); } else { NetworkDisconnect(); - NetworkUDPClose(); + NetworkUDPStop(); } } |