Move netevent handlers to server comm script

This commit is contained in:
Vortrex
2021-04-13 01:26:33 -05:00
parent 451f5fe3c9
commit 634946794e

View File

@@ -41,17 +41,17 @@ function unBindChatBoxKeys() {
// ===========================================================================
addNetworkHandler("ag.m", function(messageString, colour) {
function receiveChatBoxMessageFromServer(messageString, colour) {
message(messageString, colour);
addToChatBoxHistory(messageString, colour);
bottomMessageIndex = chatBoxHistory.length-1;
});
}
// ===========================================================================
addNetworkHandler("ag.chatScrollLines", function(amount) {
function setChatScrollLines(amount) {
scrollAmount = amount;
});
}
// ===========================================================================