Always exit remote view on sync

This commit is contained in:
Cooldude2606 committed 2026-04-23 17:25:13 +01:00
1 parent 41f8f493aa
commit 1af672aa1d
2 files changed
+1 -13

No files matched your search

@@ -116,11 +116,6 @@ function inventory_sync.deserialize_player(player, finished_record)
-- Restore player position and driving state
restore_position(player, finished_record)
-- Return to remote if needed (restore position may exit remote view)
if serialized_player.remote then
player.set_controller{ type = defines.controllers.remote }
end
-- Transfer items from stashed inventory
if stashed_corpse then
local stash = stashed_corpse.get_inventory(defines.inventory.character_corpse)