From b2aa37b2efe53280accf5544835b2ce2231eccdd Mon Sep 17 00:00:00 2001 From: "Amani H." <109637146+xsn34kzx@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:36:53 -0400 Subject: [PATCH] [Dev] Remove Version Checking (#55) --- api/savedata/system.go | 4 ---- api/savedata/update.go | 4 ---- 2 files changed, 8 deletions(-) diff --git a/api/savedata/system.go b/api/savedata/system.go index 408ea64..112060b 100644 --- a/api/savedata/system.go +++ b/api/savedata/system.go @@ -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) diff --git a/api/savedata/update.go b/api/savedata/update.go index 58eee72..f4e633c 100644 --- a/api/savedata/update.go +++ b/api/savedata/update.go @@ -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)