🔨」 fix: fixed some things.

This commit is contained in:
y-syo
2025-10-25 12:05:15 +02:00
parent 666e993c48
commit 5bdb6644bc
2 changed files with 3 additions and 7 deletions

View File

@ -68,11 +68,7 @@ export default class extends Aview {
console.log("could not remove friend");
}
list_friends();
list_friends();
list_friends();
list_friends();
list_friends();
list_friends();
requestAnimationFrame(list_friends);
}
async function isFriendLogged(name: string): Promise<Boolean> {
@ -132,7 +128,7 @@ export default class extends Aview {
const span = document.createElement('span');
span.className = "px-3";
span.textContent = list[i].friendName;
span.textContent = list[i].friendDisplayName;
const but = document.createElement('button');
but.textContent = "-";

View File

@ -558,7 +558,7 @@ export default class extends Aview {
}
async loop(timestamp: number) {
if (!view.running) return this.removeListeners();
if (!view.running) return;
if (!this.lastDrop) this.lastDrop = timestamp;
if (!this.isPaused)
{