Make 1 player lobbies say playing instead of waiting

This commit is contained in:
Agent X 2024-03-09 11:46:01 -05:00
parent 0bb62eb381
commit 31a67658ec
2 changed files with 2 additions and 2 deletions

View file

@ -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...");

View file

@ -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);