don't show game report until a game goalie has been assigned
This commit is contained in:
parent
2f767209bb
commit
76c0a85a50
|
@ -60,7 +60,7 @@ dispatch s = case s^.progMode of
|
||||||
| fromJust (unaccountedPoints gs) -> goalInput gs
|
| fromJust (unaccountedPoints gs) -> goalInput gs
|
||||||
| isJust $ gs^.gameSelectedPlayer -> getPMinsC
|
| isJust $ gs^.gameSelectedPlayer -> getPMinsC
|
||||||
| not $ gs^.gamePMinsRecorded -> pMinPlayerC
|
| not $ gs^.gamePMinsRecorded -> pMinPlayerC
|
||||||
| not $ gs^.gameGoaliesRecorded -> goalieInput gs
|
| not $ gs^.gameGoalieAssigned -> goalieInput gs
|
||||||
| otherwise -> reportC
|
| otherwise -> reportC
|
||||||
CreatePlayer cps
|
CreatePlayer cps
|
||||||
| null $ cps^.cpsNumber -> getPlayerNumC
|
| null $ cps^.cpsNumber -> getPlayerNumC
|
||||||
|
|
Loading…
Reference in New Issue
Block a user