Fix Spy-Skill to show labels again
This commit is contained in:
parent
07e630881e
commit
71c01d589c
@ -167,8 +167,9 @@ class EntityManager {
|
|||||||
position: (entity.component(ofType: DefaultBaseComponent.self)?.spriteNode.position)!
|
position: (entity.component(ofType: DefaultBaseComponent.self)?.spriteNode.position)!
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if let fire = entity.component(ofType: TeamComponent.self)?.fire{
|
if let spriteNode = entity.component(ofType: TeamComponent.self) {
|
||||||
scene.addChild(fire)
|
scene.addChild(spriteNode.unitcountLabel)
|
||||||
|
scene.addChild(spriteNode.fire)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user