Skip to content

Commit

Permalink
Fixes problematic return from draw_text_scribble*() functions
Browse files Browse the repository at this point in the history
  • Loading branch information
JujuAdams committed Mar 10, 2024
1 parent 52b7b4c commit 50b9313
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions Scribble.yyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion scripts/draw_text_scribble/draw_text_scribble.gml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,4 @@ function draw_text_scribble(_x, _y, _string, _reveal = undefined)
.blend(draw_get_color(), draw_get_alpha());
if (_reveal != undefined) _element.reveal(_reveal);
_element.draw(_x, _y);
return _element;
}
1 change: 0 additions & 1 deletion scripts/draw_text_scribble_ext/draw_text_scribble_ext.gml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,4 @@ function draw_text_scribble_ext(_x, _y, _string, _width, _reveal = undefined)
.wrap(_width);
if (_reveal != undefined) _element.reveal(_reveal);
_element.draw(_x, _y);
return _element;
}

0 comments on commit 50b9313

Please sign in to comment.