fix: 🚑 make data version fallback to v0 instead of v1

This commit is contained in:
Raymond
2026-04-16 21:29:49 -04:00
committed by GitHub
parent d0110d7f47
commit e711921725
@@ -353,7 +353,7 @@ fun ChusanController.chusanInit() {
mapOf(
"gameSetting" to mapOf(
"romVersion" to "$version.00",
"dataVersion" to (versionHelper.get(data["clientId"].toString()) ?: "$version.01"),
"dataVersion" to (versionHelper.get(data["clientId"].toString()) ?: "$version.00"),
"isMaintenance" to false,
"requestInterval" to 0,
"rebootStartTime" to now.minusHours(4).format(fmt),
@@ -451,4 +451,4 @@ fun ChusanController.chusanInit() {
"UpsertClientGameStart" static { """{"returnCode":1, "apiName":"UpsertClientGameStartApi"}""" }
"UpsertClientGameEnd" static { """{"returnCode":1, "apiName":"UpsertClientGameEndApi"}""" }
}
}