remove warning when Skip Control is accessed in engine
This commit is contained in:
parent
3d6faa6b09
commit
6c1ffbda6d
|
|
@ -60,7 +60,7 @@ var substring_sizes: Array[int]
|
|||
func _ready() -> void:
|
||||
|
||||
skip_control = %SkipControl
|
||||
if skip_control is SkipControl:
|
||||
if skip_control is SkipControl and not Engine.is_editor_hint():
|
||||
skip_control.skip.connect(skip_text)
|
||||
|
||||
if get_tree().root.get_child(-1) == self:
|
||||
|
|
|
|||
Loading…
Reference in New Issue