From c91214b516936a73764d3cd9e4ef141b51b496f5 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Tue, 12 Mar 2024 17:37:05 -0400 Subject: [PATCH] Fix network system setting with --server --- src/pc/pc_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pc/pc_main.c b/src/pc/pc_main.c index 86dc043d6..a9936b28e 100644 --- a/src/pc/pc_main.c +++ b/src/pc/pc_main.c @@ -383,7 +383,7 @@ int main(int argc, char *argv[]) { configJoinPort = gCLIOpts.networkPort; network_init(NT_CLIENT, false); } else if (gCLIOpts.network == NT_SERVER) { - network_set_system(NS_SOCKET); + configNetworkSystem = NS_SOCKET; configHostPort = gCLIOpts.networkPort; djui_panel_do_host(NULL, false);