Closed axel3rd closed 2 years ago
First call no Bonus selected, 7 matchs remaining
{blockTacticalSubs=0, boostAllPlayers=1, boostOnePlayer=3, mirror=1, nerfGoalkeeper=2, removeGoal=1, removeRandomPlayer=0}
=> boostOnePlayer selection
Second call, boostOnePlayer selected
{blockTacticalSubs=0, boostAllPlayers=1, boostOnePlayer=2, mirror=1, nerfGoalkeeper=2, removeGoal=1, removeRandomPlayer=0}
=> mirror is selected (=> previous selected not used)
Third call, mirror is selected
{blockTacticalSubs=0, boostAllPlayers=1, boostOnePlayer=3, mirror=0, nerfGoalkeeper=2, removeGoal=1, removeRandomPlayer=0}
=> boostOnePlayer selected
Root cause: selectedBonus in now under matchTeamFormation
selectedBonus
matchTeamFormation
First call no Bonus selected, 7 matchs remaining
=> boostOnePlayer selection
Second call, boostOnePlayer selected
=> mirror is selected (=> previous selected not used)
Third call, mirror is selected
=> boostOnePlayer selected