add GetServerVersion

This commit is contained in:
Lion Kortlepel committed 2021-08-02 14:01:20 +02:00
1 parent 9595ef164e
commit e11211f201
6 files changed
+42 -7

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(), '.');