diff options
Diffstat (limited to 'engine/systems/NetworkUpdate.ts')
-rw-r--r-- | engine/systems/NetworkUpdate.ts | 2 |
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) { |