fix config not saving with broken listeners, fix cursor ReferenceError

This commit is contained in:
ari melody 2025-03-31 13:36:02 +01:00
parent 6db35b2f99
commit ed86aff2a2
Signed by: ari
GPG key ID: 60B5F0386E3DDB7E
3 changed files with 9 additions and 12 deletions

View file

@ -328,7 +328,7 @@ function cursorSetup() {
switch (args[0]) {
case 'id': {
myCursor.id = Number(args[1]);
myCursor.id = id;
break;
}
case 'join': {
@ -385,8 +385,6 @@ function cursorDestroy() {
cursors.clear();
myCursor = null;
cursorContainer.remove();
console.log(`Cursor no longer tracking.`);
running = false;
}