implemented confirmGoalDataC

This commit is contained in:
Jonathan Lamothe
2019-10-01 00:58:15 -04:00
parent 66148a25d8
commit 2be7d2bf1d
3 changed files with 43 additions and 3 deletions

View File

@@ -35,6 +35,7 @@ module Mtlstats.Actions
, recordGoalAssists
, awardGoal
, awardAssist
, resetGoalData
) where
import Control.Monad.Trans.State (modify)
@@ -195,3 +196,7 @@ awardAssist n ps = ps
& pYtd.psAssists %~ succ
& pLifetime.psAssists %~ succ
else p) . zip [0..]
-- | Resets the entered data for the current goal
resetGoalData :: ProgState -> ProgState
resetGoalData = undefined