assume goalie is active on creation of rookie
This commit is contained in:
parent
747bdf8f32
commit
dff11a8316
|
@ -52,7 +52,11 @@ getRookieFlagC = Controller
|
|||
C.drawString "Is this goalie a rookie? (Y/N)"
|
||||
return C.CursorInvisible
|
||||
, handleController = \e -> do
|
||||
modify $ progMode.createGoalieStateL.cgsRookieFlag .~ ynHandler e
|
||||
modify $ case ynHandler e of
|
||||
Just True -> progMode.createGoalieStateL
|
||||
%~ (cgsRookieFlag ?~ True)
|
||||
. (cgsActiveFlag ?~ True)
|
||||
rf -> progMode.createGoalieStateL.cgsRookieFlag .~ rf
|
||||
return True
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user