fix ctrl + s

This commit is contained in:
minenice55 2023-12-16 16:11:34 -05:00
parent b8dc68cbae
commit 7e3c842f6a

View file

@ -375,13 +375,13 @@ namespace HeavenStudio.Editor
}
else
{
if (saveAs == true)
if (saveAs)
{
SaveRemixFilePanel();
}
else
{
if (currentRemixPath == string.Empty || currentRemixPath == null)
if (currentRemixPath is "" or null)
{
SaveRemixFilePanel();
}
@ -405,6 +405,7 @@ namespace HeavenStudio.Editor
if (path != String.Empty)
{
SaveRemixFile(path);
currentRemixPath = path;
}
});
}