bugfix: ensure game wins are recorded

This commit is contained in:
Jonathan Lamothe 2019-09-04 00:49:05 -04:00
parent acb3be8427
commit 24f02b427e

View File

@ -66,6 +66,7 @@ handleEvent e = gets (view progMode) >>= \case
| null $ gs^.awayScore -> do | null $ gs^.awayScore -> do
promptHandler awayScorePrompt e promptHandler awayScorePrompt e
modify overtimeCheck modify overtimeCheck
modify updateGameStats
return True return True
| null $ gs^.overtimeFlag -> do | null $ gs^.overtimeFlag -> do
overtimePrompt e overtimePrompt e