1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-24 03:47:58 +02:00

Merge pull request #51 from ComfyFactory/journey

small fix
This commit is contained in:
MewMew 2021-05-09 19:45:23 +02:00 committed by GitHub
commit 700581325c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -480,16 +480,17 @@ function Public.set_world_selectors(journey)
x_modifier = x_modifier + 1.70
end
end
end
destroy_teleporter(journey, game.surfaces.nauvis, Constants.mothership_teleporter_position)
destroy_teleporter(journey, surface, Constants.mothership_teleporter_position)
journey.game_state = "mothership_world_selection"
end
function Public.mothership_world_selection(journey)
local surface = game.surfaces.mothership
destroy_teleporter(journey, game.surfaces.nauvis, Constants.mothership_teleporter_position)
destroy_teleporter(journey, surface, Constants.mothership_teleporter_position)
local daytime = surface.daytime
daytime = daytime - 0.025
if daytime < 0 then daytime = 0 end