assume player is active on creation of rookie
This commit is contained in:
1 parent
9b07c6d249
commit
747bdf8f32
1 file changed
+5
-1
@@ -56,7 +56,11 @@ getRookieFlagC = Controller
|
|||||||
C.drawString "Is this player a rookie? (Y/N)"
|
C.drawString "Is this player a rookie? (Y/N)"
|
||||||
return C.CursorInvisible
|
return C.CursorInvisible
|
||||||
, handleController = \e -> do
|
, handleController = \e -> do
|
||||||
modify $ progMode.createPlayerStateL.cpsRookieFlag .~ ynHandler e
|
modify $ case ynHandler e of
|
||||||
|
Just True -> progMode.createPlayerStateL
|
||||||
|
%~ (cpsRookieFlag ?~ True)
|
||||||
|
. (cpsActiveFlag ?~ True)
|
||||||
|
rf -> progMode.createPlayerStateL.cpsRookieFlag .~ rf
|
||||||
return True
|
return True
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user