diff --git a/src/Mtlstats/Prompt.hs b/src/Mtlstats/Prompt.hs index 17a36dd..4246de0 100644 --- a/src/Mtlstats/Prompt.hs +++ b/src/Mtlstats/Prompt.hs @@ -313,7 +313,8 @@ selectGameGoaliePrompt = selectGoaliePrompt "Which goalie played this game: " $ -- | Prompts for the number of minutes the goalie has played goalieMinsPlayedPrompt :: Prompt -goalieMinsPlayedPrompt = undefined +goalieMinsPlayedPrompt = numPrompt "Minutes played: " $ + modify . (progMode.gameStateL.goalieMinsPlayed ?~) drawSimplePrompt :: String -> ProgState -> C.Update () drawSimplePrompt pStr s = C.drawString $ pStr ++ s^.inputBuffer