Skip to content

Commit

Permalink
Bumping into a friendly ship - extra damage rolls are fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandrem committed Nov 24, 2022
1 parent 9cc6edc commit f84562c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Model/Rules/RulesList/CollisionRules.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ private void SubscribeEvents()
if (!RuleIsInitialized)
{
GenericShip.OnTryPerformAttackGlobal += CanPerformAttack;
GenericShip.OnMovementFinishGlobal += CheckBumps;
RuleIsInitialized = true;
}
GenericShip.OnMovementFinishGlobal += CheckBumps;
}

public void CheckBumps(GenericShip ship)
Expand Down

0 comments on commit f84562c

Please sign in to comment.