implemented resetGoalData
This commit is contained in:
1 parent
4f70c84c6b
commit
7da4c54e65
2 files changed
+30
-2
No files matched your search
@@ -199,4 +199,7 @@ awardAssist n ps = ps
|
||||
|
||||
-- | Resets the entered data for the current goal
|
||||
resetGoalData :: ProgState -> ProgState
|
||||
resetGoalData = undefined
|
||||
resetGoalData ps = ps & progMode.gameStateL
|
||||
%~ (goalBy .~ Nothing)
|
||||
. (assistsBy .~ [])
|
||||
. (confirmGoalDataFlag .~ False)
|
||||
Reference in new issue
Block a user