Fix custom chatboxes not working at all

This commit is contained in:
Crystalwarrior 2020-03-31 17:03:41 +03:00
parent 2e89f0d199
commit feaf04a5c4

View File

@ -1803,6 +1803,7 @@ void Courtroom::handle_chatmessage_2()
if (chatbox != "") if (chatbox != "")
{ {
chatbox_path = ao_app->get_base_path() + "misc/" + chatbox + "/chat"; chatbox_path = ao_app->get_base_path() + "misc/" + chatbox + "/chat";
ui_vp_chatbox->set_chatbox(chatbox_path);
} }
pos_size_type default_width = ao_app->get_element_dimensions("showname", "courtroom_design.ini"); pos_size_type default_width = ao_app->get_element_dimensions("showname", "courtroom_design.ini");