fix(modules/textured): use the right texture name
This commit is contained in:
parent
e6e29cf443
commit
e91e52cafe
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ function TexturedBox:drawTopTexture()
|
||||||
end
|
end
|
||||||
|
|
||||||
function TexturedBox:drawBottomTexture()
|
function TexturedBox:drawBottomTexture()
|
||||||
local w, h = self.topTexture:getDimensions()
|
local w, h = self.bottomTexture:getDimensions()
|
||||||
local sx = self.w / w
|
local sx = self.w / w
|
||||||
local sy = self.d / h
|
local sy = self.d / h
|
||||||
self.bottomTexture:draw(0, self.h, 0, sx, sy)
|
self.bottomTexture:draw(0, self.h, 0, sx, sy)
|
||||||
|
|
Loading…
Reference in a new issue