forked from Apancore.Studio/simple-makes-complex
Tilesheet: minor fix
This commit is contained in:
@@ -84,7 +84,7 @@ end
|
||||
---@param y number
|
||||
---@return string
|
||||
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
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user