From db92f2867d2585ef23e33dc6c31c64981336da51 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Tue, 22 Jun 2021 01:37:58 +0200 Subject: [PATCH] put a line between header and content of toml --- src/TConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TConfig.cpp b/src/TConfig.cpp index 9fa0548..580bdfc 100644 --- a/src/TConfig.cpp +++ b/src/TConfig.cpp @@ -54,7 +54,7 @@ void TConfig::CreateConfigFile(std::string_view name) { if (ofs.good()) { ofs << "# This is the BeamMP-Server config file.\n" "# Help & Documentation: `https://wiki.beammp.com/en/home/server-maintenance`\n" - "# IMPORTANT: Fill in the AuthKey with the key you got from `https://beammp.com/k/dashboard` on the left under \"Keys\"" + "# IMPORTANT: Fill in the AuthKey with the key you got from `https://beammp.com/k/dashboard` on the left under \"Keys\"\n" << '\n'; ofs << tbl << '\n'; error("There was no \"" + std::string(ConfigFileName) + "\" file (this is normal for the first time running the server), so one was generated for you. Please open it and fill in your AuthKey and other settings, then restart the server. The old Server.cfg file will no longer be used and cause a warning if it exists from now on.");