Preserve furniture revisions when downloading source assets
CI / check (push) Successful in 1m31s
CI / deploy (push) Successful in 1m21s
CI / e2e (push) Successful in 21s

This commit is contained in:
Simo committed 2026-09-05 14:29:48 +02:00
1 parent 7880d5d5df
commit 8a919f85b2
5 files changed
+32 -4

No files matched your search

+4
View File
@@ -69,6 +69,10 @@ function toSourceFurni(
return {
...raw,
id: Number(raw.id ?? 0),
revision:
Number.isSafeInteger(Number(raw.revision)) && Number(raw.revision) > 0
? Number(raw.revision)
: 0,
classname: String(raw.classname ?? ""),
name: String(raw.name ?? raw.classname ?? ""),
description: String(raw.description ?? ""),