Tilesheet: minor fix
This commit is contained in:
@@ -84,7 +84,7 @@ end
|
|||||||
---@param y number
|
---@param y number
|
||||||
---@return string
|
---@return string
|
||||||
function TileSheet:getTextureName(x, y)
|
function TileSheet:getTextureName(x, y)
|
||||||
local textureName = self.image .. '^[sheet:'.. self.width .. 'x' .. self.height .. ':' .. x .. ',' .. y
|
local textureName = '('..self.image .. '^[sheet:'.. self.width .. 'x' .. self.height .. ':' .. x .. ',' .. y..')'
|
||||||
|
|
||||||
return textureName
|
return textureName
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user