Skip to content

Commit

Permalink
Merge pull request #1941 from zivmaor/saving-child-error
Browse files Browse the repository at this point in the history
fix #1940
  • Loading branch information
colinator27 authored Nov 23, 2024
2 parents caf0412 + 216d7b5 commit ad5f211
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions UndertaleModTool/Editors/UndertaleCodeEditor.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit ad5f211

Please sign in to comment.