From b61e0aac73ef6941966ff4f35da3a4afadd2f3fd Mon Sep 17 00:00:00 2001 From: dengr1065 Date: Mon, 6 Jul 2020 12:07:46 +0300 Subject: [PATCH] debug info - fix lint fail github editor sucks without built-in prettier --- src/js/game/hud/parts/debug_info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/game/hud/parts/debug_info.js b/src/js/game/hud/parts/debug_info.js index bdce3071..bfa09b1e 100644 --- a/src/js/game/hud/parts/debug_info.js +++ b/src/js/game/hud/parts/debug_info.js @@ -67,7 +67,7 @@ export class HUDDebugInfo extends BaseHUDPart { update() { const now = this.root.time.realtimeNow(); if (!this.visible) return; - + if (now - this.lastTick > 0.25) { this.lastTick = now; this.tickRateElement.innerText = "Tickrate: " + this.root.dynamicTickrate.currentTickRate;