just triggered an compiler error, marks it
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user