mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-26 05:55:15 +00:00
Force Direct Connection if singleplayer
This commit is contained in:
parent
97633044c4
commit
2bf4386928
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ void djui_panel_do_host(bool reconnecting) {
|
|||
#ifndef COOPNET
|
||||
if (configNetworkSystem == NS_COOPNET) { configNetworkSystem = NS_SOCKET; }
|
||||
#endif
|
||||
if (configNetworkSystem == NS_COOPNET && configAmountofPlayers < 2) { configNetworkSystem = NS_SOCKET; }
|
||||
if (configNetworkSystem >= NS_MAX) { configNetworkSystem = NS_MAX; }
|
||||
network_set_system(configNetworkSystem);
|
||||
|
||||
|
|
Loading…
Reference in a new issue