Fix network system setting with --server

This commit is contained in:
Agent X 2024-03-12 17:37:05 -04:00
parent 7b628334d6
commit c91214b516
1 changed files with 1 additions and 1 deletions

View File

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