Handle soft hyphens for french dialogs

This commit is contained in:
Liza 2025-01-12 17:21:01 +01:00
parent 6edb9d9219
commit 37dedcc09e
Signed by: liza
GPG Key ID: 2C41B84815CF6445

View File

@ -126,6 +126,10 @@ public static class DataManagerExtensions
return ""; return "";
else if (payload is { Type: ReadOnlySePayloadType.Macro, MacroCode: MacroCode.NonBreakingSpace }) else if (payload is { Type: ReadOnlySePayloadType.Macro, MacroCode: MacroCode.NonBreakingSpace })
return " "; return " ";
else if (payload is { Type: ReadOnlySePayloadType.Macro, MacroCode: MacroCode.Hyphen })
return "-";
else if (payload is { Type: ReadOnlySePayloadType.Macro, MacroCode: MacroCode.SoftHyphen })
return ""; // unclear when this is even visible in game; doesn't seem to be in select lists
else else
return payload.ToString(); return payload.ToString();
})); }));