This commit is contained in:
2026-06-24 19:43:17 -04:00
parent e4ad34faa1
commit 5868d03413
4 changed files with 14 additions and 13 deletions

View File

@@ -2,13 +2,13 @@ import time
def _v1_to_v2(data):
data["cat"]["hunger"] = 100
data["cat"]["fullness"] = 100
data["cat"]["last_updated"] = time.time()
data["version"] = 2
return data
_MIGRATIONS = {1: _v1_to_v2} # TODO: ADD HUNGER AND LAST PLAYED MIGRATION
_MIGRATIONS = {1: _v1_to_v2}
def migrate(data):