From 9da47c406a98288cf56c2cc5b7b7baf83f560961 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sun, 5 Oct 2025 23:24:59 -0700 Subject: [PATCH] fix: put CompletionTime of initial clan hall in the past (#2850) For old versions, TimeRemaining of 0 would cause this to show in yellow, we need it to be negative. Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2850 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- 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();