From 893fc5d754f6c5ec5a912b6b5ae29fca2737abf7 Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 27 Sep 2023 17:46:00 +0200 Subject: [PATCH] make it clear the warning can be ignored --- lua/easychat/engine_chat_hack.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lua/easychat/engine_chat_hack.lua b/lua/easychat/engine_chat_hack.lua index 5cdca2a..1838df6 100644 --- a/lua/easychat/engine_chat_hack.lua +++ b/lua/easychat/engine_chat_hack.lua @@ -59,10 +59,15 @@ if SERVER then end if not has_slog and not has_sourcenet then - EasyChat.Print("Could not find a proper installation of slog or sourcenet, " + MsgC(Color(255, 155, 0), "[EasyChat] [WARN]\n" + .. "-------------------------------\n" + .. "Could not find a proper installation of slog or sourcenet, " .. "chat console commands will use the engine networking as a result.\n" .. "If you care about console commands please install either of these two:\n" - .. "- https://github.com/danielga/gm_sourcenet\n- https://github.com/Heyter/gbins/tree/master/slog/src") + .. "- https://github.com/danielga/gm_sourcenet\n" + .. "- https://github.com/Heyter/gbins/tree/master/slog/src\n" + .. "-------------------------------\n" + .. "YOU CAN IGNORE THIS WARNING SAFELY") end local say_cmds = {