From cb0e0b5585bcd7f0065d654e88341db3335d6c34 Mon Sep 17 00:00:00 2001 From: bi Date: Tue, 19 Jun 2018 17:02:30 +0300 Subject: [PATCH] Chat Actions: little style change --- vmf/scripts/mods/vmf/modules/ui/chat/chat_actions.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vmf/scripts/mods/vmf/modules/ui/chat/chat_actions.lua b/vmf/scripts/mods/vmf/modules/ui/chat/chat_actions.lua index c5d3200..a7a667c 100644 --- a/vmf/scripts/mods/vmf/modules/ui/chat/chat_actions.lua +++ b/vmf/scripts/mods/vmf/modules/ui/chat/chat_actions.lua @@ -58,7 +58,8 @@ vmf:hook_safe("ChatGui", "block_input", function() end) -vmf:hook("ChatGui", "_update_input", function(func, self, input_service, menu_input_service, dt, no_unblock, chat_enabled) +vmf:hook("ChatGui", "_update_input", function(func, self, input_service, menu_input_service, dt, no_unblock, + chat_enabled, ...) local command_executed = false @@ -112,7 +113,7 @@ vmf:hook("ChatGui", "_update_input", function(func, self, input_service, menu_in local old_chat_message = self.chat_message local chat_focused, chat_closed, chat_close_time = func(self, input_service, menu_input_service, - dt, no_unblock, chat_enabled) + dt, no_unblock, chat_enabled, ...) if chat_closed then set_chat_message(self, "")