From b6d6ede520894c6c12f7a7397854846901520283 Mon Sep 17 00:00:00 2001 From: Christopher Leggett Date: Tue, 16 Aug 2022 23:02:52 -0400 Subject: [PATCH] Fixes color replacement from being saved to the save file. This was bad because replacing `%w` with `\x05\x00` was causing the string to prematurely terminate. --- soh/soh/Enhancements/randomizer/randomizer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/soh/soh/Enhancements/randomizer/randomizer.cpp b/soh/soh/Enhancements/randomizer/randomizer.cpp index e7b7799cc8..ca86793cc1 100644 --- a/soh/soh/Enhancements/randomizer/randomizer.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer.cpp @@ -1923,8 +1923,6 @@ std::string AltarIconString(char iconChar) { std::string FormatJsonHintText(std::string jsonHint) { std::string formattedHintMessage = jsonHint; - CustomMessageManager::Instance->FormatCustomMessage(formattedHintMessage); - // add icons to altar text for (char iconChar : {'0', '1', '2', '3', '4', '5', '6', '7', '8', 'o', 'c', 'i', 'l', 'b', 'L', 'k'}) { std::string textToReplace = "$";