Skip to content

Commit cad7e9a

Browse files
committed
patch
1 parent d955811 commit cad7e9a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

objects/obj_creation/Draw_0.gml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ try {
6969
// if (icon<=20) then draw_sprite_stretched(spr_icon,icon,436,74,128,128);
7070

7171
var sprx = 436, spry = 74, sprw = 128, sprh = 128;
72-
73-
draw_sprite_stretched(global.chapter_icon_sprite, global.chapter_icon_frame, sprx, spry, sprw, sprh);
72+
if (global.chapter_icon_sprite != -1){
73+
draw_sprite_stretched(global.chapter_icon_sprite, global.chapter_icon_frame, sprx, spry, sprw, sprh);
74+
}
7475

7576
obj_cursor.image_index = 0;
7677
if (scr_hit(436, 74, 436 + 128, 74 + 128) && (popup == "")) {

0 commit comments

Comments
 (0)