commit bc6e539e6f24b1a69ab8142cffb99df5c38547de
parent 4c82d15ab0a304d32583ff59c516fbef08c0faa6
Author: Michael Savage <mikejsavage@gmail.com>
Date: Thu, 6 Sep 2018 15:51:57 +0300
Fix input printing on same line as chats
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/lua/chat.lua b/src/lua/chat.lua
@@ -125,6 +125,7 @@ function mud.chat_no_space( form, ... )
end
mud.printb( "#lr%s", named )
+ handleChat()
end
function mud.chat( form, ... )
@@ -195,6 +196,7 @@ mud.alias( "/pm", {
local coloured = message:parseColours()
sendPM( client, coloured )
mud.printb( "\n#lrYou chat to %s, \"%s\"", client.name, coloured )
+ handleChat()
end
end,
} )
@@ -213,6 +215,7 @@ mud.alias( "/chatname", function( name )
end
mud.print( "\n#s> Chat name changed to %s", chat_name )
+ handleChat()
end )
return {