diff --git a/src/util/misc.ts b/src/util/misc.ts index 3667aa6..36066af 100644 --- a/src/util/misc.ts +++ b/src/util/misc.ts @@ -307,7 +307,7 @@ export function encodeMarkup({ unknown_04, unknown_02, unknown_01, -}: SquareMarkup): number { +}: SquareMarkup = {}): number { return ( (circled ? SQUARE_MARKUP_BITMASK.CIRCLED : 0) + (incorrect ? SQUARE_MARKUP_BITMASK.INCORRECT : 0) +