Force Direct Connection if singleplayer
This commit is contained in:
parent
97633044c4
commit
2bf4386928
|
@ -23,6 +23,7 @@ void djui_panel_do_host(bool reconnecting) {
|
||||||
#ifndef COOPNET
|
#ifndef COOPNET
|
||||||
if (configNetworkSystem == NS_COOPNET) { configNetworkSystem = NS_SOCKET; }
|
if (configNetworkSystem == NS_COOPNET) { configNetworkSystem = NS_SOCKET; }
|
||||||
#endif
|
#endif
|
||||||
|
if (configNetworkSystem == NS_COOPNET && configAmountofPlayers < 2) { configNetworkSystem = NS_SOCKET; }
|
||||||
if (configNetworkSystem >= NS_MAX) { configNetworkSystem = NS_MAX; }
|
if (configNetworkSystem >= NS_MAX) { configNetworkSystem = NS_MAX; }
|
||||||
network_set_system(configNetworkSystem);
|
network_set_system(configNetworkSystem);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue