mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-15 15:24:52 +09:00
Always exit remote view on sync
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user