add a safety check when executing gotos, make sure not lingering
I observed this in 1.12.1+dev mp campaign test somehow... hard to reproduce but this patch may prevent such a problem, with no downside.
This commit is contained in:
parent
bca4894fa0
commit
f68b05cc63
1 changed files with 3 additions and 1 deletions
|
@ -181,7 +181,9 @@ void playmp_controller::play_human_turn(){
|
|||
command_disabled_resetter reset_commands;
|
||||
int cur_ticks = SDL_GetTicks();
|
||||
show_turn_dialog();
|
||||
execute_gotos();
|
||||
if (!linger_) {
|
||||
execute_gotos();
|
||||
}
|
||||
|
||||
if (!linger_ || is_host_) {
|
||||
end_turn_enable(true);
|
||||
|
|
Loading…
Add table
Reference in a new issue