diff --git a/addons/autosave_g4/plugin.cfg b/addons/autosave_g4/plugin.cfg deleted file mode 100644 index 593bd71..0000000 --- a/addons/autosave_g4/plugin.cfg +++ /dev/null @@ -1,7 +0,0 @@ -[plugin] - -name="autosave_g4" -description="a plugin to run auto save every minute" -author="babypandabear3" -version="" -script="plugin.gd" diff --git a/addons/autosave_g4/plugin.gd b/addons/autosave_g4/plugin.gd deleted file mode 100644 index cfe38c3..0000000 --- a/addons/autosave_g4/plugin.gd +++ /dev/null @@ -1,21 +0,0 @@ -@tool -extends EditorPlugin - -var timer : float = 0.0 -var timeout : float = 60.0 - -func _enter_tree(): - # Initialization of the plugin goes here. - pass - - -func _exit_tree(): - # Clean-up of the plugin goes here. - pass - -func _physics_process(delta): - timer += delta - if timer > timeout: - timer -= timeout - EditorInterface.save_all_scenes() - print("Autosaved")