missed a end ) for one of the starting language queries

This commit is contained in:
Emagi 2022-06-28 19:43:49 -04:00
parent 4b322d60ae
commit 7ac0861c98

View file

@ -8039,7 +8039,7 @@ void WorldDatabase::UpdateStartingLanguage(int32 char_id, uint8 race_id, int32 s
} }
//if we have a starting city supplied, and the rule is set to use it, deal with it //if we have a starting city supplied, and the rule is set to use it, deal with it
else if(rule == 1) { else if(rule == 1) {
query_string.append("WHERE starting_city=" + std::to_string(starting_city) + " or (starting_city=0 and race_id=" + std::to_string(race_id)); query_string.append("WHERE starting_city=" + std::to_string(starting_city) + " or (starting_city=0 and race_id=" + std::to_string(race_id) + ")");
} }
Query query; Query query;