summaryrefslogtreecommitdiff
path: root/engine/systems/NetworkUpdate.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-09-02 17:46:03 -0600
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-09-02 17:46:03 -0600
commit19bea535ece0b76a640ab24f69a05ed61f4d9670 (patch)
tree2d17e324cb45eb336908ebadaa6dc8abc2647073 /engine/systems/NetworkUpdate.ts
parent29ba1c29d7ada13a9e6d475ca880d121a85894ea (diff)
downloadjumpstorm-19bea535ece0b76a640ab24f69a05ed61f4d9670.tar.gz
jumpstorm-19bea535ece0b76a640ab24f69a05ed61f4d9670.zip
docker. minor updates that don't really need any message.
Diffstat (limited to 'engine/systems/NetworkUpdate.ts')
-rw-r--r--engine/systems/NetworkUpdate.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/systems/NetworkUpdate.ts b/engine/systems/NetworkUpdate.ts
index 524ebf4..02fbd9f 100644
--- a/engine/systems/NetworkUpdate.ts
+++ b/engine/systems/NetworkUpdate.ts
@@ -32,7 +32,7 @@ export class NetworkUpdate extends System {
this.messageProcessor = messageProcessor;
this.entityUpdateInfo = new Map();
- this.nextPublishInterval = 0;
+ this.nextPublishInterval = this.getNextUpdateInterval();
}
public update(dt: number, game: Game) {