summaryrefslogtreecommitdiff
path: root/editor/editor_export.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-02-21 19:05:04 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-02-21 19:05:04 +0100
commit1e0d56346715e14f01b0684584adae42d9b17699 (patch)
treef450f88a081b52dc83979ee8c5cdd2edf9f1503a /editor/editor_export.h
parentb0ba9468ee40dad636dc9c5cd7b53c24041390d8 (diff)
[Net] Fix multi-peer path-only replication.
It used to check if a net_id was ever assigned to that node to detect when to send the path confirm to the remote peer. This is wrong, because the same net_id is shared for all the remote peers, but sent one by one. Instead we now check if it's either not assigned or if the assigned net_id is a cache ID, and in that case ensure that the remote peer has been notified. This can be further improved by unifying the cache interface, but for now it's a fast fix to get path-only sync to work.
Diffstat (limited to 'editor/editor_export.h')
0 files changed, 0 insertions, 0 deletions