From e91e52cafe0004de1126ff74e9e76fc36edda74a Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 27 Jul 2019 15:10:05 +0200 Subject: [PATCH] fix(modules/textured): use the right texture name --- .../core/modules/world/actors/utils/boxes/textured.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonic-radiance.love/core/modules/world/actors/utils/boxes/textured.lua b/sonic-radiance.love/core/modules/world/actors/utils/boxes/textured.lua index e9fa941..1b79162 100644 --- a/sonic-radiance.love/core/modules/world/actors/utils/boxes/textured.lua +++ b/sonic-radiance.love/core/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)