diff --git a/mods/CORE/TileSheet/src/TileSheet.lua b/mods/CORE/TileSheet/src/TileSheet.lua index de9553c..e14a272 100644 --- a/mods/CORE/TileSheet/src/TileSheet.lua +++ b/mods/CORE/TileSheet/src/TileSheet.lua @@ -62,8 +62,8 @@ end ---@return TileSheet function TileSheet:new(image, tileWidth, tileHeight) local modPath = core.get_modpath(core.get_current_modname()) - -- The canvas image must be in `/textures`, otherwise it will not be retrieved. - local width, height = getSizePng(modPath .. '/textures/' .. image) + -- The canvas image must be in `/textures/sheets/`, otherwise it will not be retrieved. + local width, height = getSizePng(modPath .. '/textures/sheets/' .. image) if width % tileWidth ~= 0 or height % tileHeight ~= 0 then error('Tilesheet does not have an integer number of tiles with resolution ' .. tostring(tileWidth) ..' * '.. tostring(tileHeight)) diff --git a/mods/GAME/ITEMS/Rocks/textures/rocks_sheet.png b/mods/GAME/ITEMS/Rocks/textures/sheets/rocks_sheet.png similarity index 100% rename from mods/GAME/ITEMS/Rocks/textures/rocks_sheet.png rename to mods/GAME/ITEMS/Rocks/textures/sheets/rocks_sheet.png diff --git a/mods/GAME/ITEMS/Soils/textures/soils_sheet.png b/mods/GAME/ITEMS/Soils/textures/sheets/soils_sheet.png similarity index 100% rename from mods/GAME/ITEMS/Soils/textures/soils_sheet.png rename to mods/GAME/ITEMS/Soils/textures/sheets/soils_sheet.png