Chat: Remove duplicate logging.

This commit is contained in:
Marco Cawthorne 2019-03-07 09:14:54 +01:00
parent 41a3032507
commit 1d5c11ebfc

View file

@ -42,7 +42,6 @@ void Chat_Draw(void)
g_chattime = time + CHAT_TIME;
}
for (int i = 0; i < CHAT_LINES; i++) {
drawstring(pos, g_chatbuffer[i], [12,12], [1,1,1], 1.0f, 0);
pos_y += 14;
@ -62,8 +61,5 @@ void Chat_Parse(string msg)
}
g_chattime = time + CHAT_TIME;
// Log to console
localcmd(sprintf("echo \"%s\"\n", msg));
sound(pSeat->ePlayer, CHAN_ITEM, "misc/talk.wav", 1.0, ATTN_NONE);
}