1
0
mirror of synced 2024-12-05 03:27:57 +01:00

fix star saving.. sometimes star become 0 again

This commit is contained in:
Shiroi Kitsu 2022-11-26 12:43:39 +07:00
parent e6faa157cd
commit d2c509cd17

View File

@ -22,7 +22,7 @@ export async function saveVersusBattleResult(body: wm.protobuf.SaveGameResultReq
let data : any = {
vsPlayCount: common.sanitizeInput(vsResult.vsPlayCount),
vsBurstCount: common.sanitizeInput(vsResult.vsBurstCount),
vsStarCount: common.sanitizeInput(vsResult.vsStarCount),
vsStarCount: common.sanitizeInputNotZero(vsResult.vsStarCount),
vsCoolOrWild: common.sanitizeInput(vsResult.vsCoolOrWild),
vsSmoothOrRough: common.sanitizeInput(vsResult.vsSmoothOrRough),
vsTripleStarMedals: common.sanitizeInputNotZero(vsResult.vsTripleStarMedals),