diff options
author | Adam Scott <ascott.ca@gmail.com> | 2022-11-21 23:24:10 -0500 |
---|---|---|
committer | Adam Scott <ascott.ca@gmail.com> | 2022-11-21 23:39:31 -0500 |
commit | eb62d241c0555131060efdedae8f1a8986b59351 (patch) | |
tree | 0e9c1aedccd30235e1d0a257264de78f55bba179 /modules/gdscript/gdscript_cache.h | |
parent | 11e1c83309e7e7c15018c8b2c6456fa294116244 (diff) |
[godot#61386] Fix autoload scenes implicit types
Diffstat (limited to 'modules/gdscript/gdscript_cache.h')
-rw-r--r-- | modules/gdscript/gdscript_cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_cache.h b/modules/gdscript/gdscript_cache.h index 2195932aa3..0f9d87aa67 100644 --- a/modules/gdscript/gdscript_cache.h +++ b/modules/gdscript/gdscript_cache.h @@ -102,6 +102,7 @@ public: static Error finish_compiling(const String &p_owner); static Ref<PackedScene> get_packed_scene(const String &p_path, Error &r_error, const String &p_owner = ""); + static Ref<GDScript> get_packed_scene_script(const String &p_path, Error &r_error); static void clear_unreferenced_packed_scenes(); static bool is_destructing() { |