From b53d0aff33081985b301636927b7c3cd8e33eb7d Mon Sep 17 00:00:00 2001 From: bonnibel Date: Fri, 8 Dec 2023 00:02:32 -0800 Subject: [PATCH] Minor final tweaks. --- src/Murder.Editor/Data/EditorDataManager_Dialog.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Murder.Editor/Data/EditorDataManager_Dialog.cs b/src/Murder.Editor/Data/EditorDataManager_Dialog.cs index 12ec1a3e1..1c05b1b51 100644 --- a/src/Murder.Editor/Data/EditorDataManager_Dialog.cs +++ b/src/Murder.Editor/Data/EditorDataManager_Dialog.cs @@ -99,6 +99,12 @@ private void ProcessDialogs(string path, DateTime? lastModified) GameLogger.Error("Found error while compiling latest dialogue changes!"); GameLogger.Error(errors); } + + if (scripts.Length != 0) + { + // Make sure we save the default localization, as it's likely we changed something along the way. + SaveAsset(GetDefaultLocalization()); + } } ///