naieve tick start on startup
authorxangelo <git@xangelo.ca>
Wed, 25 May 2022 15:18:50 +0000 (11:18 -0400)
committerxangelo <git@xangelo.ca>
Wed, 25 May 2022 15:18:50 +0000 (11:18 -0400)
src/api.ts

index 54f44825be11f63f8b7b5bba0b8abd377be52362..2cca2896156d71946885de1af5dd6747b3b89dee 100644 (file)
@@ -350,3 +350,8 @@ server.get<void, string>('/attacks/outgoing', async req => {
 
 
 server.start();
+
+tick.trigger({
+  lastTickAt: 0,
+  lastTick: 0
+});