implemented startNewSeason

This commit is contained in:
Jonathan Lamothe committed 2019-08-20 12:26:24 -04:00
1 parent 25034f0c48
commit 76b4b85a0f
2 files changed
+24 -8

No files matched your search

+3 -1
View File
@@ -21,11 +21,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
module Mtlstats.Actions (startNewSeason, startNewGame) where
import Lens.Micro ((.~))
import Mtlstats.Types
-- | Starts a new season
startNewSeason :: ProgState -> ProgState
startNewSeason = undefined
startNewSeason = (progMode .~ NewSeason) . (database . dbGames .~ 0)
-- | Starts a new game
startNewGame :: ProgState -> ProgState