Skip to content

Commit 92fa20b

Browse files
committed
Fix a crash
1 parent de542fe commit 92fa20b

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 2.0.7
2+
- Fix a crash
3+
14
# 2.0.6
25
- Quick fixes you'll never see as an end user
36
- Still haven't fixed certain reported issues that require extensive testing, please be patient on those

mod.json

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

src/nodes/GJCommentListLayer.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ class $nodeModify(MyGJCommentListLayer, GJCommentListLayer) {
136136
}
137137

138138
void updateBordersWithParent(CCNode* parent) {
139+
if (!parent) return;
139140

140141
if (CCNode* bg = parent->getChildByID("background")) {
141142
if (bg->getChildByType<CCLayerGradient>(0)) {

0 commit comments

Comments
 (0)