From 37dedcc09e1f31e47b898fca27284f1c0eb9fb99 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Sun, 12 Jan 2025 17:21:01 +0100 Subject: [PATCH] Handle soft hyphens for french dialogs --- DataManagerExtensions.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DataManagerExtensions.cs b/DataManagerExtensions.cs index 21e90d9..cd628ae 100644 --- a/DataManagerExtensions.cs +++ b/DataManagerExtensions.cs @@ -126,6 +126,10 @@ public static class DataManagerExtensions return ""; else if (payload is { Type: ReadOnlySePayloadType.Macro, MacroCode: MacroCode.NonBreakingSpace }) 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 return payload.ToString(); }));