move enter courtroom to the PV packet instead of just doing it when you click a character
This commit is contained in:
parent
4eb45ef2b0
commit
0c382eea7d
@ -148,8 +148,6 @@ void Courtroom::char_clicked(int n_char)
|
||||
else
|
||||
update_character(n_char);
|
||||
|
||||
enter_courtroom();
|
||||
|
||||
if (n_char != -1)
|
||||
ui_ic_chat_name->setPlaceholderText(char_list.at(n_char).name);
|
||||
}
|
||||
|
@ -460,6 +460,8 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
|
||||
if (f_contents.size() < 3)
|
||||
goto end;
|
||||
|
||||
w_courtroom->enter_courtroom();
|
||||
|
||||
if (courtroom_constructed)
|
||||
w_courtroom->update_character(f_contents.at(2).toInt());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user