Skip to content

Commit

Permalink
Merge pull request #2309 from Eulenmensch93/fix_2291_unexpected_spr_r…
Browse files Browse the repository at this point in the history
…endering_with_undefined_colorkey

Fix issue 2291
  • Loading branch information
nesbox authored Sep 23, 2023
2 parents 7b86c1c + b95e2de commit cc50420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/js.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ static JSValue js_spr(JSContext *ctx, JSValueConst this_val, s32 argc, JSValueCo
}
else
{
colors[0] = getInteger2(ctx, argv[3], 0);
colors[0] = getInteger2(ctx, argv[3], -1);
count = 1;
}

Expand Down

0 comments on commit cc50420

Please sign in to comment.