Skip to content
Snippets Groups Projects
Commit a7a87f8a authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Small optimization: don't write user.chat_settings if you don't need to

parent 13e30862
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -125,7 +125,7 @@ if(user.security.restrictions&UFLAG_G) {
}
// Force split-screen chat on ANSI users
if(console.term_supports(USER_ANSI))
if(!(user.chat_settings&CHAT_SPLITP) && console.term_supports(USER_ANSI))
user.chat_settings|=CHAT_SPLITP;
// Inactivity exemption
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment