From 3e26d9a769f267118e2b9e0c2f89b3cab840c78c Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 20 Jul 2019 17:09:57 +0200 Subject: [PATCH] fix(boxes): make sure that the textured boxes doesn't have lines --- gamecore/modules/world/actors/utils/boxes/textured.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gamecore/modules/world/actors/utils/boxes/textured.lua b/gamecore/modules/world/actors/utils/boxes/textured.lua index 9158ecd..e9fa941 100644 --- a/gamecore/modules/world/actors/utils/boxes/textured.lua +++ b/gamecore/modules/world/actors/utils/boxes/textured.lua @@ -32,9 +32,8 @@ function TexturedBox:new(owner, w, h, d, topTexture, bottomTexture) self.topTexture = owner.assets.images[topTexture] self.bottomTexture = owner.assets.images[bottomTexture] - self.haveLine = false - TexturedBox.super.new(self, owner, w, h, d) + self.haveLine = false end function TexturedBox:drawTopTexture()