recordGoalAssists should clear confirmGoalDataFlag
This commit is contained in:
1 parent
739db189ae
commit
08c3382fe8
2 files changed
+10
-5
No files matched your search
@@ -161,9 +161,10 @@ recordGoalAssists ps = fromMaybe ps $ do
|
||||
& awardGoal goalId
|
||||
& (\s -> foldr awardAssist s assistIds)
|
||||
& progMode.gameStateL
|
||||
%~ (goalBy .~ Nothing)
|
||||
. (assistsBy .~ [])
|
||||
. (pointsAccounted %~ succ)
|
||||
%~ (goalBy .~ Nothing)
|
||||
. (assistsBy .~ [])
|
||||
. (pointsAccounted %~ succ)
|
||||
. (confirmGoalDataFlag .~ False)
|
||||
|
||||
-- | Awards a goal to a player
|
||||
awardGoal
|
||||
|
||||
Reference in new issue
Block a user