reset YTD stats before starting new game

This commit is contained in:
Jonathan Lamothe 2019-09-04 23:15:32 -04:00
parent 38fae17d44
commit 3a44bdca94

View File

@ -67,8 +67,9 @@ mainMenu = Menu "*** MAIN MENU ***" True
-- | The new season menu
newSeasonMenu :: Menu ()
newSeasonMenu = Menu "*** SEASON TYPE ***" ()
[ MenuItem '1' "Regular Season" $
modify $ resetYtd . startNewGame
[ MenuItem '1' "Regular Season" $ do
modify resetYtd
modify startNewGame
, MenuItem '2' "Playoffs" $
modify startNewGame
]