mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-17 20:58:13 +02:00
Restore Journey fix
This commit is contained in:
parent
30a7c04501
commit
829d636db7
@ -1197,7 +1197,6 @@ function Public.teleporters(journey, player)
|
||||
local surface = player.surface
|
||||
if surface.get_tile(player.position).name ~= Constants.teleporter_tile then return end
|
||||
local base_position = {0,0}
|
||||
if surface.index == 1 then
|
||||
if surface.index == 1 then
|
||||
drop_player_items(player)
|
||||
local position = game.surfaces.mothership.find_non_colliding_position("character", base_position, 32, 0.5)
|
||||
@ -1218,7 +1217,6 @@ function Public.teleporters(journey, player)
|
||||
player.teleport(base_position, game.surfaces.nauvis)
|
||||
end
|
||||
|
||||
|
||||
journey.characters_in_mothership = journey.characters_in_mothership - 1
|
||||
return
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user