Skip to content

Commit 82a570f

Browse files
committed
Hint Debug Log Fix
- Fix logged hint text not being utf8
1 parent 9f35fb8 commit 82a570f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

logic/Hints.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ HintError generateHints(WorldPool& worlds)
870870
std::string placementOption = hintPlacementOptions[i % hintPlacementOptions.size()];
871871
// add the hint location to that placement option
872872
hintsForCategory[placementOption].push_back(hint);
873-
LOG_TO_DEBUG("Hint \"" + hint.text["English"] + "\" will be given to " + placementOption);
873+
LOG_TO_DEBUG("Hint \"" + Utility::Str::toUTF8(hint.text["English"]) + "\" will be given to " + placementOption);
874874
++i;
875875
}
876876

0 commit comments

Comments
 (0)