diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-12-17 16:30:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-17 16:30:34 +0100 |
commit | 8d52eea52b4914a26409823047fc2ffd82c294f0 (patch) | |
tree | a68ec2039a9a527cf1e0fb7f2c169b17531336f5 /modules/gdscript/gdscript.h | |
parent | c023d41036f676572c43421670b2961991487884 (diff) | |
parent | e1c63fee86a0f9682988258618fd992f431c5ec0 (diff) |
Merge pull request #70000 from rune-scape/find-more-classes
GDScript: Fix built-in script `find_class` bugs
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r-- | modules/gdscript/gdscript.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h index 7911ea47ec..332d18f720 100644 --- a/modules/gdscript/gdscript.h +++ b/modules/gdscript/gdscript.h @@ -187,7 +187,7 @@ public: bool inherits_script(const Ref<Script> &p_script) const override; GDScript *find_class(const String &p_qualified_name); - bool is_subclass(const GDScript *p_script); + bool has_class(const GDScript *p_script); GDScript *get_root_script(); bool is_root_script() const { return _owner == nullptr; } String get_fully_qualified_name() const { return fully_qualified_name; } |