Tilesheet: minor fix

This commit is contained in:
Van
2025-12-30 19:10:04 +03:00
parent 4e823bfee6
commit c0575e2c82

View File

@@ -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