mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-03 14:26:09 +00:00
add git hash to version print on startup
this helps us debug issues
This commit is contained in:
@@ -78,7 +78,7 @@ TEST_CASE("GetPidVid") {
|
||||
}
|
||||
|
||||
TServer::TServer(const std::vector<std::string_view>& Arguments) {
|
||||
beammp_info("BeamMP Server v" + Application::ServerVersionString());
|
||||
beammp_infof("BeamMP Server v{} ({})", Application::ServerVersionString(), BEAMMP_GIT_HASH);
|
||||
Application::SetSubsystemStatus("Server", Application::Status::Starting);
|
||||
if (Arguments.size() > 1) {
|
||||
Application::SetSetting(StrCustomIP, std::string(Arguments[0]));
|
||||
|
||||
Reference in New Issue
Block a user