fix(boxes): make sure that the textured boxes doesn't have lines

This commit is contained in:
Kazhnuz 2019-07-20 17:09:57 +02:00
parent cbebb16c46
commit 3e26d9a769

View file

@ -32,9 +32,8 @@ function TexturedBox:new(owner, w, h, d, topTexture, bottomTexture)
self.topTexture = owner.assets.images[topTexture] self.topTexture = owner.assets.images[topTexture]
self.bottomTexture = owner.assets.images[bottomTexture] self.bottomTexture = owner.assets.images[bottomTexture]
self.haveLine = false
TexturedBox.super.new(self, owner, w, h, d) TexturedBox.super.new(self, owner, w, h, d)
self.haveLine = false
end end
function TexturedBox:drawTopTexture() function TexturedBox:drawTopTexture()