Skip to content

Commit

Permalink
Merge pull request #78392 from Gallilus/master
Browse files Browse the repository at this point in the history
Fix `Ref<>.is_valid()` for ScriptInstanceExtension
  • Loading branch information
YuriSizov authored Jun 20, 2023
2 parents 58fae90 + ceed30c commit 329652b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/object/script_language_extension.h
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ class ScriptInstanceExtension : public ScriptInstance {

#ifdef TOOLS_ENABLED
Ref<Script> script = get_script();
if (script->is_valid() && pcount > 0) {
if (script.is_valid() && pcount > 0) {
p_list->push_back(script->get_class_category());
}
#endif // TOOLS_ENABLED
Expand Down

0 comments on commit 329652b

Please sign in to comment.