Skip to content

Commit

Permalink
fix: Implicitly set to null, needs to also be null case. (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpcFORK authored Jul 6, 2024
1 parent 9ab88b0 commit 29be968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kaboom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ const kaplay = <
tex: Texture,
frames?: Quad[],
anims: SpriteAnims = {},
slice9: NineSlice = null,
slice9: NineSlice | null = null,
) {
this.tex = tex;
if (frames) this.frames = frames;
Expand Down

0 comments on commit 29be968

Please sign in to comment.