diff options
| author | ne_mene <[email protected]> | 2026-03-12 17:36:06 +0100 |
|---|---|---|
| committer | ne_mene <[email protected]> | 2026-03-12 17:36:06 +0100 |
| commit | bedfad9ae704c9f6a72d71f37dd090170da3a908 (patch) | |
| tree | 95ff5d5b26a8f0171c1a76afe63192f6439b1db6 /src/textures.lua | |
| parent | 6fc7035db506b648ab27f21cd4ccbe2e874e3750 (diff) | |
tiles.
Diffstat (limited to 'src/textures.lua')
| -rw-r--r-- | src/textures.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/textures.lua b/src/textures.lua index 0738912..8cf98a8 100644 --- a/src/textures.lua +++ b/src/textures.lua @@ -73,9 +73,7 @@ function load_textures_from(path) load_textures_from(filepath) else if filepath:match("%.png$") then - local name = string.gsub(filepath, ".png", "") - name = string.gsub(name, "assets/images/", "") - img_bank[name] = lg.newImage(filepath) + img_bank[filepath] = lg.newImage(filepath) elseif filepath:match("%.ase$") then load_ase(filepath) end |
