mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-17 15:05:05 -05:00
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.
This commit is contained in:
parent
ecaf0fd87a
commit
b6d6ede520
@ -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 = "$";
|
||||
|
Loading…
Reference in New Issue
Block a user