Refactor so game loop can hold "player" objects
This commit is contained in:
1 parent
92f7e5aa5f
commit
368d6585c4
4 files changed
+48
-42
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user