XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

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
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified src/controllers/api/getGuildDojoController.ts +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();