From 156f82411a70f8e48e07ec59301783ec0906dc78 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sun, 5 Oct 2025 20:21:12 +0200 Subject: [PATCH] fix: put CompletionTime of initial clan hall in the past For old versions, TimeRemaining of 0 would cause this to show in yellow, we need it to be negative. --- src/controllers/api/getGuildDojoController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/getGuildDojoController.ts b/src/controllers/api/getGuildDojoController.ts index 05d4685c..e9af4170 100644 --- a/src/controllers/api/getGuildDojoController.ts +++ b/src/controllers/api/getGuildDojoController.ts @@ -19,7 +19,7 @@ export const getGuildDojoController: RequestHandler = async (req, res) => { _id: new Types.ObjectId(), pf: "/Lotus/Levels/ClanDojo/DojoHall.level", ppf: "", - CompletionTime: new Date(Date.now()), + CompletionTime: new Date(Date.now() - 1000), DecoCapacity: 600 }); await guild.save();