1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Improve network console messages

This commit is contained in:
Ted John
2021-02-11 21:17:15 +00:00
parent 882d3d6356
commit c30e1f083b
2 changed files with 13 additions and 13 deletions

View File

@@ -390,7 +390,8 @@ bool NetworkBase::BeginServer(uint16_t port, const std::string& address)
_userManager.Save();
}
printf("Ready for clients...\n");
auto* szAddress = address.empty() ? "*" : address.c_str();
std::printf("Listening for clients on %s:%hu\n", szAddress, port);
network_chat_show_connected_message();
network_chat_show_server_greeting();