diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-08-19 18:15:50 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-08-19 18:18:13 +0200 |
commit | d1539db2c6e42b4425adb8f8373eda155bc8b735 (patch) | |
tree | 08ef518e16533de75e82b90f5679c377986920f0 /servers/physics/area_sw.cpp | |
parent | cce148b0242836b5c32a7fa6c39013a2fc1c9eff (diff) |
Fix WebSocketServer relaying message 2 times.
The WebSocketMultiplayerPeer was relaying the same message two times,
both in _server_relay and _process_multiplayer (which was only supposed
to store the packet, given the server was one of the destination).
_process_multiplayer now only store the packet, and calls _server_relay
which will relay the message to other clients if needed.
Diffstat (limited to 'servers/physics/area_sw.cpp')
0 files changed, 0 insertions, 0 deletions