Browse Source

send less data, no people

master
Joshua Moerman 12 years ago
parent
commit
ffd5864bce
  1. 1
      src/main.cpp

1
src/main.cpp

@ -28,7 +28,6 @@ websockets::TestProtocol<User> default_protocol{
// write (will always come after receive)
[](User& user, basic_websocket_info) -> std::string{
js::Object ret;
ret["people"] = ptrvector_to_json(app->people_online);
ret["balls"] = vector_to_json(app->sim.balls);
ret["lines"] = vector_to_json(app->sim.lines);
return write_json(ret);