summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-12-15 10:58:48 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-12-15 11:07:46 +0100
commit84112d96103073578820e045bb0017a25488ab93 (patch)
tree7de8230ef854cc1fe64d0b1d739065b491c7943a /scene
parent1930fc8b3150e3084c16557d82dc2c517e3f292b (diff)
[Net] Fix WebRTC returning packets from peers too early.
Due to the async nature of WebRTC implementations, the multiplayer peer could end up having queued packets from a given connection before it is able to emit the "peer_added" signal. This commit ensures that packets from peers which are not notified yet are skipped by `get_packet` and `get_available_packet_count`.
Diffstat (limited to 'scene')
0 files changed, 0 insertions, 0 deletions