Add autoload automatically when enabling the plugin
darkhog opened this issue · comments
D. G. Jagielski commented
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
That is being done. Godot is ignoring it for reasons I do not understand.
D. G. Jagielski commented
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
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.