Skip to content

Commit

Permalink
fix MaxPlayers setting using value of MaxCars (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
lionkor authored Sep 20, 2024
2 parents 530d605 + a9dee2b commit f08dfc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void TConfig::FlushToFile() {
SetComment(data["General"][StrTags.data()].comments(), " Add custom identifying tags to your server to make it easier to find. Format should be TagA,TagB,TagC. Note the comma seperation.");
data["General"][StrTags.data()] = Application::Settings.getAsString(Settings::Key::General_Tags);
data["General"][StrMaxCars.data()] = Application::Settings.getAsInt(Settings::Key::General_MaxCars);
data["General"][StrMaxPlayers.data()] = Application::Settings.getAsInt(Settings::Key::General_MaxCars);
data["General"][StrMaxPlayers.data()] = Application::Settings.getAsInt(Settings::Key::General_MaxPlayers);
data["General"][StrMap.data()] = Application::Settings.getAsString(Settings::Key::General_Map);
data["General"][StrDescription.data()] = Application::Settings.getAsString(Settings::Key::General_Description);
data["General"][StrResourceFolder.data()] = Application::Settings.getAsString(Settings::Key::General_ResourceFolder);
Expand Down

0 comments on commit f08dfc0

Please sign in to comment.