Refactor so game loop can hold "player" objects

This commit is contained in:
2022-10-14 11:36:45 -05:00
parent 92f7e5aa5f
commit 368d6585c4
4 changed files with 48 additions and 42 deletions

View File

@@ -57,7 +57,7 @@
break;
case "CHAT":
let text = $("textarea").val();
text = text += `\n${args[0]}`;
text = text += `${args[0]}\n`;
$("textarea").val(text);
default:
console.log("Unhandled message", msg);