force player position to upper case
This commit is contained in:
parent
8af7974c8f
commit
05af939963
|
@ -191,7 +191,7 @@ playerNamePrompt = strPrompt "Player name: " $
|
|||
|
||||
-- | Prompts for a new player's position
|
||||
playerPosPrompt :: Prompt
|
||||
playerPosPrompt = strPrompt "Player position: " $
|
||||
playerPosPrompt = ucStrPrompt "Player position: " $
|
||||
modify . (progMode.createPlayerStateL.cpsPosition .~)
|
||||
|
||||
-- | Prompts tor the goalie's number
|
||||
|
|
|
@ -51,7 +51,7 @@ editPlayerNamePrompt = strPrompt "Player name: " $
|
|||
|
||||
-- | Prompt to edit a player's position
|
||||
editPlayerPosPrompt :: Prompt
|
||||
editPlayerPosPrompt = strPrompt "Player position: " $
|
||||
editPlayerPosPrompt = ucStrPrompt "Player position: " $
|
||||
editPlayer . (pPosition .~)
|
||||
|
||||
-- | Prompt to edit a player's year-to-date goals
|
||||
|
|
Loading…
Reference in New Issue
Block a user