1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

debug info - fix lint fail

github editor sucks without built-in prettier
This commit is contained in:
dengr1065
2020-07-06 12:07:46 +03:00
committed by GitHub
parent f4c9c66354
commit b61e0aac73

View File

@@ -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;