Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev committed Jun 10, 2024
1 parent 01d162c commit 245604a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/saves/PlayerSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
QuarkHepteract
} from '../Hepteracts'
import { QuarkHandler } from '../Quark'
import { blankSave } from '../Synergism'

const decimalSchema = z.custom<Decimal>((value) => {
try {
Expand Down Expand Up @@ -524,8 +525,8 @@ export const playerSchema = z.object({
blueberryLoadouts: z.record(z.string().regex(/^\d+$/), z.any()),
blueberryLoadoutMode: z.string(),

ultimateProgress: z.number(),
ultimatePixels: z.number(),
ultimateProgress: z.number().default(() => blankSave.ultimateProgress),
ultimatePixels: z.number().default(() => blankSave.ultimatePixels),

// TODO: what type?
caches: z.record(z.string(), z.any()),
Expand Down

0 comments on commit 245604a

Please sign in to comment.