don't show game report until a game goalie has been assigned

This commit is contained in:
Jonathan Lamothe 2019-11-04 02:41:50 -05:00
parent 2f767209bb
commit 76c0a85a50

View File

@ -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