From 85c93481ae21105a07512e85d222344d65cb9988 Mon Sep 17 00:00:00 2001 From: MysterD Date: Sun, 16 Apr 2023 15:10:21 -0700 Subject: [PATCH] Do not display the socket page when hosting on coopnet --- src/pc/djui/djui_panel_host.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pc/djui/djui_panel_host.c b/src/pc/djui/djui_panel_host.c index 69309cf2..c38abd38 100644 --- a/src/pc/djui/djui_panel_host.c +++ b/src/pc/djui/djui_panel_host.c @@ -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); }