forgot to update stats column

pull/13/head
Up 8 months ago
parent a44a6c382f
commit 81853b1863
No known key found for this signature in database
GPG Key ID: 3B75CD7439FEB388

@ -57,6 +57,11 @@ func Get(uuid []byte, datatype, slot int) (any, error) {
if err != nil { if err != nil {
return nil, fmt.Errorf("failed to update system save data: %s", err) return nil, fmt.Errorf("failed to update system save data: %s", err)
} }
err = db.UpdateAccountStats(uuid, system.GameStats, system.VoucherCounts)
if err != nil {
return nil, fmt.Errorf("failed to update account stats: %s", err)
}
} }
return system, nil return system, nil

Loading…
Cancel
Save