thats the wrong number

This commit is contained in:
Elijah R 2024-06-23 22:26:19 -04:00
parent cf2a2d24c6
commit 977cf1e837

View file

@ -171,7 +171,7 @@ export default abstract class CollabVMClient {
// Handle renames
if (message[0] === "rename") {
let oldname;
if (message[1] == "1") {
if (message[1] == "0") {
oldname = this._username;
this._username = message[3];
} else oldname = message[2];