diff --git a/UndertaleModTool/Editors/UndertaleCodeEditor.xaml.cs b/UndertaleModTool/Editors/UndertaleCodeEditor.xaml.cs index 472a3a76e..1946049c9 100644 --- a/UndertaleModTool/Editors/UndertaleCodeEditor.xaml.cs +++ b/UndertaleModTool/Editors/UndertaleCodeEditor.xaml.cs @@ -519,7 +519,8 @@ private void DisassembleCode(UndertaleCode code, bool first) if (code.ParentEntry != null) { DisassemblyEditor.IsReadOnly = true; - text = "; This code entry is a reference to an anonymous function within " + code.ParentEntry.Name.Content + ", view it there"; + text = "; This code entry is a reference to an anonymous function within " + code.ParentEntry.Name.Content + ", view it there."; + DisassemblyChanged = false; } else { @@ -645,7 +646,8 @@ private async Task DecompileCode(UndertaleCode code, bool first, LoaderDialog ex if (code.ParentEntry != null) { - DecompiledEditor.Text = "// This code entry is a reference to an anonymous function within " + code.ParentEntry.Name.Content + ", view it there"; + DecompiledEditor.Text = "// This code entry is a reference to an anonymous function within " + code.ParentEntry.Name.Content + ", view it there."; + DecompiledChanged = false; CurrentDecompiled = code; existingDialog?.TryClose(); }