From fa6eef8eba7b085526b6f0f3f6349531ec0727f4 Mon Sep 17 00:00:00 2001 From: Crystalwarrior Date: Sun, 13 Mar 2022 18:29:42 +0300 Subject: 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 --- include/courtroom.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/courtroom.h') diff --git a/include/courtroom.h b/include/courtroom.h index 3b56c772..f230b35f 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(); } -- cgit