diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-02 17:20:16 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-02 17:20:16 +0100 |
commit | 06b72069d8d29c109b8847c9e4ff7948cd79f632 (patch) | |
tree | ba722000ed2e49cff07dc6a2fe60ff189c07ba3c | |
parent | 62958bd603f46004de6e31b38721a15f5f34302b (diff) | |
download | dragonfireclient-06b72069d8d29c109b8847c9e4ff7948cd79f632.tar.xz |
Fixed ColorChat
-rw-r--r-- | builtin/client/cheats/chat.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/client/cheats/chat.lua b/builtin/client/cheats/chat.lua index 1f3ecbaa2..0763909df 100644 --- a/builtin/client/cheats/chat.lua +++ b/builtin/client/cheats/chat.lua @@ -22,10 +22,10 @@ function core.send_colorized(message) message = msg end - local use_chat_color = core.settings:get("use_chat_color") + local use_chat_color = core.settings:get_bool("use_chat_color") local color = core.settings:get("chat_color") - if color then + if use_chat_color and color then local msg if color == "rainbow" then msg = core.rainbow(message) |