fix: 🚑 make data version fallback to v0 instead of v1
Some checks failed
Build and Publish Docker Image / build-and-push (push) Has been cancelled

This commit is contained in:
Raymond 2026-04-16 21:29:49 -04:00 committed by GitHub
parent d0110d7f47
commit e711921725
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"}""" }
}
}