Make 1 player lobbies say playing instead of waiting
This commit is contained in:
parent
0bb62eb381
commit
31a67658ec
|
@ -110,7 +110,7 @@ void discord_activity_update(void) {
|
|||
sCurActivity.party.size.max_size = 1;
|
||||
}
|
||||
|
||||
if (sCurActivity.party.size.current_size > 1) {
|
||||
if (sCurActivity.party.size.current_size > 1 || configAmountofPlayers == 1) {
|
||||
strcpy(sCurActivity.state, "Playing!");
|
||||
} else if (gNetworkType == NT_SERVER) {
|
||||
strcpy(sCurActivity.state, "Waiting for players...");
|
||||
|
|
|
@ -23,7 +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_COOPNET && configAmountofPlayers == 1) { configNetworkSystem = NS_SOCKET; }
|
||||
if (configNetworkSystem >= NS_MAX) { configNetworkSystem = NS_MAX; }
|
||||
network_set_system(configNetworkSystem);
|
||||
|
||||
|
|
Loading…
Reference in New Issue