Fix: [Admin] #12411 Send Network Welcome Packet to admin port after game creation completed

WelcomeAll moved into NetworkOnGameStart

Signed-off-by: Muxy <muxy@goulp.net>
pull/730/head
Muxy 4 months ago committed by rubidium42
parent 460fab920c
commit 486af1a6fc

@ -936,9 +936,6 @@ bool NetworkServerStart()
/* if the server is dedicated ... add some other script */
if (_network_dedicated) IConsoleCmdExec("exec scripts/on_dedicated.scr 0");
/* welcome possibly still connected admins - this can only happen on a dedicated server. */
if (_network_dedicated) ServerNetworkAdminSocketHandler::WelcomeAll();
return true;
}
@ -969,6 +966,9 @@ void NetworkOnGameStart()
}
ShowClientList();
} else {
/* welcome possibly still connected admins - this can only happen on a dedicated server. */
ServerNetworkAdminSocketHandler::WelcomeAll();
}
}

Loading…
Cancel
Save