[Dev] Remove Version Checking (#55)

pull/50/merge
Amani H. 2 weeks ago committed by GitHub
parent ad43cccb41
commit b2aa37b2ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -21,10 +21,6 @@ func UpdateSystem(uuid []byte, data defs.SystemSaveData) error {
return fmt.Errorf("invalid system data")
}
if data.GameVersion != "1.0.4" {
return fmt.Errorf("client version out of date")
}
err := db.UpdateAccountStats(uuid, data.GameStats, data.VoucherCounts)
if err != nil {
return fmt.Errorf("failed to update account stats: %s", err)

@ -38,10 +38,6 @@ func Update(uuid []byte, slot int, save any) error {
return fmt.Errorf("invalid system data")
}
if save.GameVersion != "1.0.4" {
return fmt.Errorf("client version out of date")
}
err = db.UpdateAccountStats(uuid, save.GameStats, save.VoucherCounts)
if err != nil {
return fmt.Errorf("failed to update account stats: %s", err)

Loading…
Cancel
Save