fix: initialize z value for the ennemy
This commit is contained in:
parent
90976b7217
commit
0f327d1de2
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ function Ennemy:new(world, x, y, owner)
|
|||
self:initSprite()
|
||||
if (self.owner:haveProtecType("aerial")) then
|
||||
self.z = 10
|
||||
self.start.z = 10
|
||||
end
|
||||
self.sprHeight = self.owner.abstract.data.hudHeight + 14
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue