aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/courtroom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index 3b56c77..f230b35 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -73,6 +73,7 @@ public:
void append_evidence(evi_type p_evi) { evidence_list.append(p_evi); }
void append_music(QString f_music) { music_list.append(f_music); }
void append_area(QString f_area) { area_list.append(f_area); }
+ void clear_chars() { char_list.clear(); }
void clear_music() { music_list.clear(); }
void clear_areas() { area_list.clear(); }