diff --git a/gamecore/modules/world/actors/utils/boxes/textured.lua b/gamecore/modules/world/actors/utils/boxes/textured.lua index e9fa941..1b79162 100644 --- a/gamecore/modules/world/actors/utils/boxes/textured.lua +++ b/gamecore/modules/world/actors/utils/boxes/textured.lua @@ -44,7 +44,7 @@ function TexturedBox:drawTopTexture() end function TexturedBox:drawBottomTexture() - local w, h = self.topTexture:getDimensions() + local w, h = self.bottomTexture:getDimensions() local sx = self.w / w local sy = self.d / h self.bottomTexture:draw(0, self.h, 0, sx, sy)