* Fix trying to add fire sprite node to existing component
This commit is contained in:
parent
b04bbe5036
commit
de5929d070
@ -119,9 +119,9 @@ class EntityManager {
|
|||||||
position: (base.component(ofType: DefaultBaseComponent.self)?.spriteNode.position)!
|
position: (base.component(ofType: DefaultBaseComponent.self)?.spriteNode.position)!
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
scene.addChild(base.component(ofType: TeamComponent.self)!.fire)
|
||||||
}
|
}
|
||||||
base.changeOwnership = false
|
base.changeOwnership = false
|
||||||
scene.addChild(base.component(ofType: TeamComponent.self)!.fire)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user