diff options
author | Jasper Van der Jeugt | 2020-08-04 13:44:21 +0200 |
---|---|---|
committer | Jasper Van der Jeugt | 2020-08-04 13:44:21 +0200 |
commit | 8402aeee145de98b4e7c8433975f3156f5ec0e1d (patch) | |
tree | 9fdde7a07cfc5f2c84a381e17e8a19c37d9816ea /client/src | |
parent | d1b1068d0c9dad94734438ddd6f5cfcec77396dd (diff) |
Optimization flags
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/Client.elm | 5 |
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) |