From 3806be94acd379b4221137948db76d12aab31364 Mon Sep 17 00:00:00 2001 From: hanakocz Date: Thu, 2 Nov 2023 05:57:03 +0100 Subject: [PATCH] too early importing --- maps/journey/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maps/journey/functions.lua b/maps/journey/functions.lua index 47b2dd7f..7c12113d 100644 --- a/maps/journey/functions.lua +++ b/maps/journey/functions.lua @@ -672,7 +672,7 @@ function Public.draw_mothership(journey) end Public.draw_gui(journey) surface.daytime = 0.5 - check_if_restarted(journey) + journey.game_state = 'set_world_selectors' end @@ -1035,7 +1035,7 @@ end function Public.mothership_world_selection(journey) Public.teleport_players_to_mothership(journey) - + check_if_restarted(journey) local surface = game.surfaces.mothership local daytime = surface.daytime daytime = daytime - 0.025