diff --git a/UndertaleModTool/Editors/UndertaleCodeEditor.xaml.cs b/UndertaleModTool/Editors/UndertaleCodeEditor.xaml.cs index 22bf5e8e0..14834beaf 100644 --- a/UndertaleModTool/Editors/UndertaleCodeEditor.xaml.cs +++ b/UndertaleModTool/Editors/UndertaleCodeEditor.xaml.cs @@ -715,7 +715,7 @@ private async Task DecompileCode(UndertaleCode code, bool first, LoaderDialog ex { Match match = matches[i]; if (!currDict.TryGetValue(match.Groups[1].Value, out string text)) - continue; + text = ""; if (i != matches.Length - 1) // If not the last decompLinesBuilder.Append($"{text}; ");