aboutsummaryrefslogtreecommitdiff
path: root/client/src
diff options
context:
space:
mode:
authorJasper Van der Jeugt2020-08-04 13:44:21 +0200
committerJasper Van der Jeugt2020-08-04 13:44:21 +0200
commit8402aeee145de98b4e7c8433975f3156f5ec0e1d (patch)
tree9fdde7a07cfc5f2c84a381e17e8a19c37d9816ea /client/src
parentd1b1068d0c9dad94734438ddd6f5cfcec77396dd (diff)
Optimization flags
Diffstat (limited to 'client/src')
-rw-r--r--client/src/Client.elm5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/Client.elm b/client/src/Client.elm
index 7a6f333..0494140 100644
--- a/client/src/Client.elm
+++ b/client/src/Client.elm
@@ -224,9 +224,8 @@ update msg model = case msg of
WebSocketIn json ->
case Json.Decode.decodeString Messages.jsonDecServerMessage json of
Err str -> (Error <| Json.Decode.errorToString str, Cmd.none)
- Ok (Messages.Welcome playerId) ->
- Debug.log ("Welcome " ++ String.fromInt playerId) (model, Cmd.none)
- Ok Messages.Bye -> Debug.log "Bye" (model, Cmd.none)
+ Ok (Messages.Welcome playerId) -> (model, Cmd.none)
+ Ok Messages.Bye -> (model, Cmd.none)
Ok (Messages.SyncGameView gameView) ->
case model of
Game game -> (Game {game | view = gameView}, Cmd.none)