返回提交历史
Modified
src/controllers/api/getGuildDojoController.ts
+1
-1
XFEstudio/XFESpaceNinjaServer
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>
9da47c40
代码差异
1 个文件
+1
-1
@@ -19,7 +19,7 @@ export const getGuildDojoController: RequestHandler = async (req, res) => {
19
19
_id: new Types.ObjectId(),
20
20
pf: "/Lotus/Levels/ClanDojo/DojoHall.level",
21
21
ppf: "",
22
CompletionTime: new Date(Date.now()),
22
CompletionTime: new Date(Date.now() - 1000),
23
23
DecoCapacity: 600
24
24
});
25
25
await guild.save();