mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
debug info - fix lint fail
github editor sucks without built-in prettier
This commit is contained in:
parent
f4c9c66354
commit
b61e0aac73
@ -67,7 +67,7 @@ export class HUDDebugInfo extends BaseHUDPart {
|
|||||||
update() {
|
update() {
|
||||||
const now = this.root.time.realtimeNow();
|
const now = this.root.time.realtimeNow();
|
||||||
if (!this.visible) return;
|
if (!this.visible) return;
|
||||||
|
|
||||||
if (now - this.lastTick > 0.25) {
|
if (now - this.lastTick > 0.25) {
|
||||||
this.lastTick = now;
|
this.lastTick = now;
|
||||||
this.tickRateElement.innerText = "Tickrate: " + this.root.dynamicTickrate.currentTickRate;
|
this.tickRateElement.innerText = "Tickrate: " + this.root.dynamicTickrate.currentTickRate;
|
||||||
|
Loading…
Reference in New Issue
Block a user