Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dev] Remove Version Checking #55

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions api/savedata/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions api/savedata/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading