don't abort creating new player on selection
This commit is contained in:
@@ -179,9 +179,9 @@ selectPlayerPrompt pStr callback = Prompt
|
||||
Nothing -> do
|
||||
mode <- gets $ view progMode
|
||||
let
|
||||
cps
|
||||
= newCreatePlayerState
|
||||
& cpsName .~ sStr
|
||||
cps = newCreatePlayerState
|
||||
& cpsAbortable .~ False
|
||||
& cpsName .~ sStr
|
||||
& cpsSuccessCallback .~ do
|
||||
modify $ progMode .~ mode
|
||||
pIndex <- pred . length <$> gets (view $ database.dbPlayers)
|
||||
|
||||
Reference in New Issue
Block a user