Refactor so game loop can hold "player" objects
This commit is contained in:
@@ -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