Skip to content

Commit 26e7be5

Browse files
authored
Add files via upload
1 parent 9c02f36 commit 26e7be5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client/scripts/Chat.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var Chat = class Chat {
3232
window.addEventListener(
3333
"wheel",
3434
function (e) {
35-
if (_this.game.FPC.gameState !== "chat") {
35+
if (_this.game.eh.gameState !== "chat") {
3636
e.preventDefault();
3737
}
3838
},
@@ -55,6 +55,7 @@ var Chat = class Chat {
5555
}
5656

5757
log(message) {
58+
if(message.split(" ")[1].indexOf("<") == -1 && message.split(" ").indexOf(">") == -1)
5859
$(".chat").append(`<span>${message}<br></span>`);
5960
this.scrollToBottom(this.chatDiv);
6061
}

0 commit comments

Comments
 (0)