From: xangelo Date: Wed, 25 May 2022 15:18:50 +0000 (-0400) Subject: naieve tick start on startup X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=24f3fcbc788685eae10db81de4044d2d5135dcc1;p=browser-rts.git naieve tick start on startup --- diff --git a/src/api.ts b/src/api.ts index 54f4482..2cca289 100644 --- a/src/api.ts +++ b/src/api.ts @@ -350,3 +350,8 @@ server.get('/attacks/outgoing', async req => { server.start(); + +tick.trigger({ + lastTickAt: 0, + lastTick: 0 +});