diff --git a/src/controllers/dynamic/worldStateController.ts b/src/controllers/dynamic/worldStateController.ts index de87a2bf..7bdc6a93 100644 --- a/src/controllers/dynamic/worldStateController.ts +++ b/src/controllers/dynamic/worldStateController.ts @@ -3,7 +3,9 @@ import config from "@/config.json"; import worldState from "@/static/fixed_responses/worldState.json"; const worldStateController: RequestHandler = (_req, res) => { - res.json(worldState); + const state = worldState; + state.Time = Math.round(Date.now() / 1000); + res.json(state); }; export { worldStateController };