Skip to content
This repository was archived by the owner on Aug 2, 2026. It is now read-only.

Commit 20a445f

Browse files
committed
Bug fix
1 parent 422beb9 commit 20a445f

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 2.1.5
2+
- Fix a crash
3+
14
# 2.1.4
25
- Add custom spritesheet support (Experimental)
36
- Add `cascade-color` and `cascade-opacity` bools

mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"mac": "2.2081",
77
"ios": "2.2081"
88
},
9-
"version": "v2.1.4",
9+
"version": "v2.1.5",
1010
"id": "alphalaneous.happy_textures",
1111
"name": "Happy Textures :3",
1212
"developer": "Alphalaneous",

src/Utils.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ namespace Utils {
420420
if (!std::filesystem::is_directory(path)) continue;
421421

422422
auto spritesheetsDir = path / "spritesheets";
423+
424+
if (!std::filesystem::is_directory(spritesheetsDir)) continue;
423425

424426
const auto packStr = utils::string::pathToString(path);
425427
const size_t baseLen = packStr.length() + 1;

0 commit comments

Comments
 (0)