Skip to content

Commit

Permalink
Merge branch 'main' into fix-market-offer-fee-check
Browse files Browse the repository at this point in the history
  • Loading branch information
murilo09 authored Jan 15, 2025
2 parents a0c82e7 + 8e1fd02 commit ada9f22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/database/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ void Database::createDatabaseBackup(bool compress) const {
std::ofstream configFile(tempConfigFile);
if (configFile.is_open()) {
configFile << "[client]\n";
configFile << "user=" << g_configManager().getString(MYSQL_USER) << "\n";
configFile << "password=" << g_configManager().getString(MYSQL_PASS) << "\n";
configFile << "user=\"" << g_configManager().getString(MYSQL_USER) << "\"\n";
configFile << "password=\"" << g_configManager().getString(MYSQL_PASS) << "\"\n";
configFile << "host=" << g_configManager().getString(MYSQL_HOST) << "\n";
configFile << "port=" << g_configManager().getNumber(SQL_PORT) << "\n";
configFile.close();
Expand Down
2 changes: 1 addition & 1 deletion src/game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10998,7 +10998,7 @@ void Game::playerCyclopediaHousesByTown(uint32_t playerId, const std::string &to
const auto &house = it.second;
const auto &town = g_game().map.towns.getTown(house->getTownId());
if (!town) {
return;
continue;
}

const std::string &houseTown = town->getName();
Expand Down

0 comments on commit ada9f22

Please sign in to comment.