blackears / cyclopsLevelBuilder

A Godot plugin to let you block in levels inside the Godot editor.
MIT License
920 stars 36 forks source link

Add autoload automatically when enabling the plugin #174

Open darkhog opened 1 month ago

darkhog commented 1 month ago

EditorPlugin has this nifty method for adding an autoload automatically without the user's intervention: https://docs.godotengine.org/en/stable/classes/class_editorplugin.html#class-editorplugin-method-add-autoload-singleton

blackears commented 1 month ago

That is being done. Godot is ignoring it for reasons I do not understand.

darkhog commented 2 weeks ago

Oh. May I take a look? Which file tries to add the autoload automatically? Perhaps I could fix it, just need to know how do you make PRs.

blackears commented 2 weeks ago

It's in res://addons/cyclops_level_builder/cyclops_level_builder.gd line 109. It's one of the first things the addon does when it loads.