diff --git a/src/Autoload/OpenSave.gd b/src/Autoload/OpenSave.gd index e95695f81..33a5f04a0 100644 --- a/src/Autoload/OpenSave.gd +++ b/src/Autoload/OpenSave.gd @@ -216,7 +216,7 @@ func save_pxo_file( project: Project = Global.current_project ) -> bool: if !autosave: - project.name = path.get_file() + project.name = path.get_file().trim_suffix(".pxo") var serialized_data := project.serialize() if !serialized_data: Global.error_dialog.set_text(