remove warning when Skip Control is accessed in engine
This commit is contained in:
parent
7d0c8a70ad
commit
47ad59c2ff
|
|
@ -60,7 +60,7 @@ var substring_sizes: Array[int]
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
|
|
||||||
skip_control = %SkipControl
|
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)
|
skip_control.skip.connect(skip_text)
|
||||||
|
|
||||||
if get_tree().root.get_child(-1) == self:
|
if get_tree().root.get_child(-1) == self:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue