forked from team-sg/hero-mark-2
make DelayedInstance timer not process while paused (fixes #76)
This commit is contained in:
parent
1ed02f7d26
commit
e02288fb3a
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ func _ready():
|
||||||
start()
|
start()
|
||||||
|
|
||||||
func start():
|
func start():
|
||||||
get_tree().create_timer(delay).connect("timeout", self, "_instance_children")
|
get_tree().create_timer(delay, false).connect("timeout", self, "_instance_children")
|
||||||
|
|
||||||
func _instance_children():
|
func _instance_children():
|
||||||
var parent = get_parent()
|
var parent = get_parent()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue