aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <Varsash@Gmail.com>2022-03-13 18:29:42 +0300
committerGitHub <noreply@github.com>2022-03-13 18:29:42 +0300
commitfa6eef8eba7b085526b6f0f3f6349531ec0727f4 (patch)
treed703de75226920a0d5b59174b64e0816aaeeea85 /src/courtroom.cpp
parent5657ac74ae64e32903e295858292c0100ef6b045 (diff)
Allow character select list to refresh even if client is already loaded in (#655)
* Allow "SC" packet to be used to refresh the character list even if the client is loaded in Fix tree list of characters not being cleared properly between "SC" packets Fix client theme breaking when joining a server with empty character select list * Do my review suggestions on CW's behalf Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
Diffstat (limited to 'src/courtroom.cpp')
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index d8a48a61..69040ffb 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -1310,13 +1310,13 @@ void Courtroom::done_received()
if (char_list.size() > 0)
{
- set_char_select_page();
set_char_select();
}
else
{
update_character(m_cid);
enter_courtroom();
+ set_courtroom_size();
}
set_mute_list();