From 34def5e38f89c740acc730cde9f3b86d6258ea98 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sun, 3 Jan 2021 03:51:43 -0600 Subject: [PATCH] Save server start time after loading everything --- scripts/server/startup.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/server/startup.js b/scripts/server/startup.js index f46d8dd8..4684e8f3 100644 --- a/scripts/server/startup.js +++ b/scripts/server/startup.js @@ -42,6 +42,8 @@ function initServerScripts() { initAllClients(); loadGameFixesResource(); + + serverStartTime = new Date().getTime()/1000; } // ---------------------------------------------------------------------------