Skip to content

Commit

Permalink
Fix bug that allow avoiding reaction shoots
Browse files Browse the repository at this point in the history
  • Loading branch information
Yankes authored and SupSuper committed May 27, 2021
1 parent 765d67d commit 390ed68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Battlescape/BattlescapeState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2170,6 +2170,7 @@ bool BattlescapeState::allowButtons(bool allowSaving) const
{
return ((allowSaving || _save->getSide() == FACTION_PLAYER || _save->getDebugMode())
&& (_battleGame->getPanicHandled() || _firstInit )
&& (allowSaving || !_battleGame->isBusy())
&& (_map->getProjectile() == 0));
}

Expand Down

0 comments on commit 390ed68

Please sign in to comment.