Add missing onready for NodePath usage in GDScript exports (#5694)

This commit is contained in:
Harmony Honey
2022-03-16 18:44:27 -07:00
committed by GitHub
parent 56da3e1628
commit 0a1bef0dd0

View File

@@ -121,7 +121,7 @@ Examples
export(NodePath) var node_path
# Do take note that the node itself isn't being exported -
# there is one more step to call the true node:
var node = get_node(node_path)
onready var node = get_node(node_path)
# Resources