Merge pull request #1156 from bbassie/fix/player-sync-spectator

Download again after a stalled player_sync download
This commit is contained in:
Bastiaan authored and GitHub committed 2026-11-02 22:59:03 +00:00
1 parent 0a23af61f9
commit cfea463c7b
3 files changed
+42 -19

No files matched your search

+1
View File
@@ -79,6 +79,7 @@ The greatly simplified data flow is as follows:
When the player leaves the inventory is uploaded if it's a synced inventory and the exclusive access the scenario script holds is released.
Should an error occur during this process the player is given the option to use a temporary inventory instead, which will be merged back into the synced inventory the next time the sync succeeds on that instance.
A download that stops part way, for example because the controller went down, is started over the next time the player joins, and nothing is uploaded for the player until it finishes.
Instances can leave parts of the player out of the sync with the `player_sync.sync_*` options below.
A part which is not synced is left as it is when the player joins, and the instance's copy of it is not uploaded, so the stored copy from other instances stays as it was.