award shutouts
This commit is contained in:
1 parent
eedeaed8fc
commit
4941e0e64f
3 files changed
+65
-3
No files matched your search
@@ -106,9 +106,10 @@ verifyDataC = Controller
|
||||
return C.CursorInvisible
|
||||
, handleController = \e -> do
|
||||
case ynHandler e of
|
||||
Just True -> do
|
||||
modify $ progMode.gameStateL.dataVerified .~ True
|
||||
modify updateGameStats
|
||||
Just True -> modify
|
||||
$ (progMode.gameStateL.dataVerified .~ True)
|
||||
. updateGameStats
|
||||
. awardShutouts
|
||||
Just False -> modify $ progMode.gameStateL .~ newGameState
|
||||
Nothing -> return ()
|
||||
return True
|
||||
|
||||
Reference in new issue
Block a user