Do not display the socket page when hosting on coopnet

This commit is contained in:
MysterD 2023-04-16 15:10:21 -07:00
parent bc0bd0a77d
commit 85c93481ae

View file

@ -81,6 +81,10 @@ static void djui_panel_host_do_host(struct DjuiBase* caller) {
if (gNetworkType == NT_SERVER) {
network_rehost_begin();
} else if (configNetworkSystem == NS_COOPNET) {
extern void djui_panel_do_host(bool reconnecting);
network_reset_reconnect_and_rehost();
djui_panel_do_host(false);
} else {
djui_panel_host_message_create(caller);
}