equal
deleted
inserted
replaced
808 if (new_mode != SM_SAVE) { |
808 if (new_mode != SM_SAVE) { |
809 /* If the network is active, make it not-active */ |
809 /* If the network is active, make it not-active */ |
810 if (_networking) { |
810 if (_networking) { |
811 if (_network_server && (new_mode == SM_LOAD || new_mode == SM_NEWGAME)) { |
811 if (_network_server && (new_mode == SM_LOAD || new_mode == SM_NEWGAME)) { |
812 NetworkReboot(); |
812 NetworkReboot(); |
813 NetworkUDPCloseAll(); |
|
814 } else { |
813 } else { |
815 NetworkDisconnect(); |
814 NetworkDisconnect(); |
816 NetworkUDPCloseAll(); |
|
817 } |
815 } |
818 } |
816 } |
819 |
817 |
820 /* If we are a server, we restart the server */ |
818 /* If we are a server, we restart the server */ |
821 if (_is_network_server) { |
819 if (_is_network_server) { |