Fix when compiling without COOPNET
This commit is contained in:
parent
8d1aaf628e
commit
5c515c340d
|
@ -138,12 +138,14 @@ void discord_activity_update(void) {
|
|||
void discord_activity_update_check(void) {
|
||||
if (sQueuedLobby > 0) {
|
||||
if (--sQueuedLobby == 0) {
|
||||
#ifdef COOPNET
|
||||
gCoopNetDesiredLobby = sQueuedLobbyId;
|
||||
snprintf(gCoopNetPassword, 64, "%s", sQueuedLobbyPassword);
|
||||
network_reset_reconnect_and_rehost();
|
||||
network_set_system(NS_COOPNET);
|
||||
network_init(NT_CLIENT, false);
|
||||
djui_panel_join_message_create(NULL);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue