Change 'banned' to 'limited

This commit is contained in:
maru committed 2024-04-30 00:32:55 -04:00
1 parent 8481626193
commit 786e947e09
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ func Clear(uuid []byte, slot int, seed string, save defs.SessionSaveData) (Clear
}
if save.Score >= 20000 {
db.UpdateAccountBanned(uuid, true)
db.SetAccountLimited(uuid, true)
}
err = db.AddOrUpdateAccountDailyRun(uuid, save.Score, waveCompleted)
+1 -1
View File
@@ -60,7 +60,7 @@ func Update(uuid []byte, slot int, save any) error {
save.VoucherCounts["1"] > 150 ||
save.VoucherCounts["2"] > 100 ||
save.VoucherCounts["3"] > 10 {
db.UpdateAccountBanned(uuid, true)
db.SetAccountLimited(uuid, true)
}
err = db.UpdateAccountStats(uuid, save.GameStats, save.VoucherCounts)