Added Log That Says The Port (#5593)

* added logging that says the port

* fixed my little oversight

* removed useless level.dat
This commit is contained in:
CoolPuppyKid 2024-12-10 17:54:19 -06:00 committed by GitHub
parent 4b2b02a8ba
commit b92dc1cda3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@
#include "Server.h"
#include "ClientHandle.h"
#include "LoggerSimple.h"
#include "Mobs/Monster.h"
#include "Root.h"
#include "World.h"
@ -410,6 +411,7 @@ bool cServer::Start(void)
auto Handle = cNetwork::Listen(PortNum, std::make_shared<cServerListenCallbacks>(*this, PortNum));
if (Handle->IsListening())
{
LOGINFO("Server Running On Port: %s", port.c_str());
m_ServerHandles.push_back(Handle);
}
} // for port - Ports[]