4cdbbfd071
This makes sure that running scenes in debug mode (from the editor) does not crash Godot. In export mode it should already work correctly, because editor-only singletons are never registered in the first place.