pull remote user input even if we are doing a local choice.

this mainly effects wesnoth.synchronize_choices:
previously the client would not process incoming choices from other
players while it was exeucting its own local choice (usually a dialog).
The problem this commit fixes is that with the old behaviour any choice
from another player would block the incoming queue, in particular
chatmessages after that command would be delayed until the
wesnoth.synchronize_choices is finished.
This commit is contained in:
gfgtdf 2018-03-30 23:42:59 +02:00
parent a32d689c46
commit edd7a82255

View file

@ -424,7 +424,7 @@ std::map<int, config> user_choice_manager::get_user_choice_internal(const std::s
void user_choice_manager::process(events::pump_info&)
{
if(waiting())
if(!oos_ && !finished())
{
pull();
}