just triggered an compiler error, marks it

This commit is contained in:
2019-11-27 21:54:54 +01:00
parent 32ff8bd2d6
commit c52fea683d
7 changed files with 87 additions and 62 deletions

View File

@@ -121,8 +121,8 @@ init session =
playerId =
case Session.user session of
Session.Player id ->
id
Session.Player player _ ->
player.id
Session.Admin ->
0
@@ -148,9 +148,7 @@ init session =
Route.PlayerLoot
Nothing
""
(Wealth.init
blankPlayer.wealth
)
Wealth.init
[]
, Cmd.batch
[ Api.Player.get GotPlayer playerId