From 76c0a85a50f3defc2361b64c7d219bfe324d8463 Mon Sep 17 00:00:00 2001 From: Jonathan Lamothe Date: Mon, 4 Nov 2019 02:41:50 -0500 Subject: [PATCH] don't show game report until a game goalie has been assigned --- src/Mtlstats/Control.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mtlstats/Control.hs b/src/Mtlstats/Control.hs index 959c971..412568c 100644 --- a/src/Mtlstats/Control.hs +++ b/src/Mtlstats/Control.hs @@ -60,7 +60,7 @@ dispatch s = case s^.progMode of | fromJust (unaccountedPoints gs) -> goalInput gs | isJust $ gs^.gameSelectedPlayer -> getPMinsC | not $ gs^.gamePMinsRecorded -> pMinPlayerC - | not $ gs^.gameGoaliesRecorded -> goalieInput gs + | not $ gs^.gameGoalieAssigned -> goalieInput gs | otherwise -> reportC CreatePlayer cps | null $ cps^.cpsNumber -> getPlayerNumC