add GetServerVersion

This commit is contained in:
Lion Kortlepel committed 2021-09-09 12:14:30 +03:00
1 parent e3b6fd7998
commit ba3fd0e144
6 files changed
+39 -10

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@
namespace json = rapidjson;
TServer::TServer(int argc, char** argv) {
info("BeamMP Server v" + Application::ServerVersion());
info("BeamMP Server v" + Application::ServerVersionString());
if (argc > 1) {
Application::Settings.CustomIP = argv[1];
size_t n = std::count(Application::Settings.CustomIP.begin(), Application::Settings.CustomIP.end(), '.');