1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2026-06-20 16:32:28 +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
+5 -4
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