code cleanup

This commit is contained in:
Jonathan Lamothe
2020-02-13 20:08:10 -05:00
parent 6bb4601e6b
commit 214710661a
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -86,10 +86,10 @@ confirmCreatePlayerC = Controller
modify addPlayer
if rookie
then success
else modify (progMode.editPlayerStateL
else modify $ progMode.editPlayerStateL
%~ (epsSelectedPlayer ?~ pid)
. (epsMode .~ EPLtGoals True)
. (epsCallback .~ success))
. (epsCallback .~ success)
Just False -> failure
Nothing -> return ()
return True