minor fixes, version bump

This commit is contained in:
Lion Kortlepel
2021-07-31 20:19:35 +02:00
committed by Anonymous275
parent a1ca8e0576
commit 3d0d5e9e4c
4 changed files with 23 additions and 13 deletions

View File

@@ -50,7 +50,7 @@ public:
// Causes all threads to finish up and exit gracefull gracefully
static void GracefullyShutdown();
static TConsole& Console() { return *mConsole; }
static std::string ServerVersion() { return "2.1.4"; }
static std::string ServerVersion() { return "2.2.0"; }
static std::string ClientVersion() { return "2.0"; }
static std::string PPS() { return mPPS; }
static void SetPPS(std::string NewPPS) { mPPS = NewPPS; }

View File

@@ -8,13 +8,13 @@ class TConfig {
public:
explicit TConfig();
bool Failed() const { return mFailed; }
[[nodiscard]] bool Failed() const { return mFailed; }
private:
void CreateConfigFile(std::string_view name);
void ParseFromFile(std::string_view name);
void PrintDebug();
void ParseOldFormat();
bool mFailed { false };