diff --git a/GUI.NET/Debugger/frmScript.cs b/GUI.NET/Debugger/frmScript.cs index 9d1991b3..7e0bfb38 100644 --- a/GUI.NET/Debugger/frmScript.cs +++ b/GUI.NET/Debugger/frmScript.cs @@ -223,6 +223,7 @@ namespace Mesen.GUI.Debugger this.Text = $"{name} - Script Window"; txtScriptContent.Text = ResourceManager.ReadZippedResource(name); _originalText = txtScriptContent.Text; + _filePath = null; _builtInScriptName = name; txtScriptContent.ClearUndo(); }