Home
/
browser-rts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8be776
)
naieve tick start on startup
author
xangelo
<git@xangelo.ca>
Wed, 25 May 2022 15:18:50 +0000
(11:18 -0400)
committer
xangelo
<git@xangelo.ca>
Wed, 25 May 2022 15:18:50 +0000
(11:18 -0400)
src/api.ts
patch
|
blob
|
history
diff --git
a/src/api.ts
b/src/api.ts
index 54f44825be11f63f8b7b5bba0b8abd377be52362..2cca2896156d71946885de1af5dd6747b3b89dee 100644
(file)
--- a/
src/api.ts
+++ b/
src/api.ts
@@
-350,3
+350,8
@@
server.get<void, string>('/attacks/outgoing', async req => {
server.start();
+
+tick.trigger({
+ lastTickAt: 0,
+ lastTick: 0
+});