equal
deleted
inserted
replaced
746 if (new_mode != SM_SAVE) { |
746 if (new_mode != SM_SAVE) { |
747 // If the network is active, make it not-active |
747 // If the network is active, make it not-active |
748 if (_networking) { |
748 if (_networking) { |
749 if (_network_server && (new_mode == SM_LOAD || new_mode == SM_NEWGAME)) { |
749 if (_network_server && (new_mode == SM_LOAD || new_mode == SM_NEWGAME)) { |
750 NetworkReboot(); |
750 NetworkReboot(); |
751 NetworkUDPStop(); |
751 NetworkUDPCloseAll(); |
752 } else { |
752 } else { |
753 NetworkDisconnect(); |
753 NetworkDisconnect(); |
754 NetworkUDPStop(); |
754 NetworkUDPCloseAll(); |
755 } |
755 } |
756 } |
756 } |
757 |
757 |
758 // If we are a server, we restart the server |
758 // If we are a server, we restart the server |
759 if (_is_network_server) { |
759 if (_is_network_server) { |