aboutsummaryrefslogtreecommitdiff
path: root/resource
diff options
context:
space:
mode:
authorwindrammer <31085911+likeawindrammer@users.noreply.github.com>2020-08-05 08:18:08 -0600
committerGitHub <noreply@github.com>2020-08-05 09:18:08 -0500
commit0ce60d66a779ee91f85ebc9f92b2fe52c632b868 (patch)
tree42bdaf50d1da8d3aaf6470b917ab35c2cd431539 /resource
parent630518020a385391469f0b710a8a59cd2984c2c7 (diff)
Fix not using custom chatbox's colors (#228)
* Fix not using custom chatbox's colors Moved set_text_color_dropdown() to after current_char is actually updated with the selected char. Otherwise set_text_color_dropdown will try to update the colors with either nothing as character, or with the previously selected character. Use get_chat() so it actually gets the name of the custom chatbox instead of using the same name as the character. Remove the extra "c" since get_chat_color it's already called with this "c" in place. * Fix previous fix crashing the client on DRO servers For some reason the client would work just fine if set_text_color_dropdown() was called only once after updating the character selected by the user. But when joining a DRO server the client would crash just before loading the music. * Improve comment with where crash happens * Fix get_chat_markdown to get the custom chatbox on misc of the char instead of trying to find the character folder on misc * Fix client using the current character colors on other people's messages Also remove the comment explaining the crash if set_text_color_dropdown is removed from set_widgets * Fix loading custom colors loading after the message was added to the log
Diffstat (limited to 'resource')
0 files changed, 0 insertions, 0 deletions