mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-21 07:34:22 +00:00
Revert call deferred thing
This commit is contained in:
parent
05bb27d965
commit
9abb03a088
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ func spawn():
|
|||
return null
|
||||
var entity = scene.instantiate()
|
||||
entity.global_position = global_position
|
||||
target.add_child(entity)
|
||||
target.add_child.call_deferred(entity)
|
||||
spawned.emit(entity)
|
||||
return entity
|
||||
|
||||
|
|
Loading…
Reference in a new issue