Merge pull request #72804 from vnen/gdscript-no-onready-without-node

GDScript: Fix inheritance check of @onready for inner classes
This commit is contained in:
Yuri Sizov 2023-02-06 23:03:44 +03:00 committed by GitHub
commit 7b86a082be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 1 deletions

View file

@ -0,0 +1,7 @@
extends RefCounted
func test():
print("ok")
class Inner extends Node:
@onready var okay = 0