cleanup: remove dead pos=0 reassignment and demote chat logs to DEBUG

Quest log had a redundant pos=0 right after initialization. Chat handler
logged every incoming/outgoing message at WARNING level, flooding the
log and obscuring genuine warnings.
This commit is contained in:
Kelsi 2026-03-29 18:11:49 -07:00
parent a30c7f4b1a
commit 0795430390
2 changed files with 4 additions and 5 deletions

View file

@ -35,7 +35,6 @@ std::string replaceGenderPlaceholders(const std::string& text, game::GameHandler
// Replace $g placeholders
size_t pos = 0;
pos = 0;
while ((pos = result.find('$', pos)) != std::string::npos) {
if (pos + 1 >= result.length()) break;
char marker = result[pos + 1];