planning mode: Fix game hanging during enemies attack
Fixes #5302, planning mode now no longer tries to set the defendings unit animation to "standing" during an attack when there were planned moves for the defender.
This commit is contained in:
parent
3c3fd51098
commit
0eae27a474
1 changed files with 2 additions and 1 deletions
|
@ -151,7 +151,8 @@ bool manager::can_modify_game_state() const
|
|||
|| resources::gameboard == nullptr
|
||||
|| executing_actions_
|
||||
|| resources::gameboard->is_observer()
|
||||
|| resources::controller->is_linger_mode())
|
||||
|| resources::controller->is_linger_mode()
|
||||
|| !synced_context::is_unsynced())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue