Skip to content
Snippets Groups Projects
Commit a22dec32 authored by ys678's avatar ys678
Browse files

Update conn.connection.send

parent 02d80eee
No related branches found
No related tags found
1 merge request!16Potential restart
...@@ -57,7 +57,9 @@ class WebSocketModel { ...@@ -57,7 +57,9 @@ class WebSocketModel {
conn.connection.send( conn.connection.send(
JSON.stringify({ JSON.stringify({
type: "gameBoard", type: "gameBoard",
data: playerView, data: playerView.view,
headPosition: playerView.headPosition,
bodySize: playerView.bodySize
}), }),
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment