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()
|
self:initSprite()
|
||||||
if (self.owner:haveProtecType("aerial")) then
|
if (self.owner:haveProtecType("aerial")) then
|
||||||
self.z = 10
|
self.z = 10
|
||||||
|
self.start.z = 10
|
||||||
end
|
end
|
||||||
self.sprHeight = self.owner.abstract.data.hudHeight + 14
|
self.sprHeight = self.owner.abstract.data.hudHeight + 14
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue