1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-09 13:37:02 +02:00

don't show info window unless they click

This commit is contained in:
danielmartin0 2024-09-14 12:47:51 +01:00
parent f8d26364fb
commit 5a974edd60

View File

@ -1455,6 +1455,10 @@ local function event_on_player_joined_game(event)
end
end
-- if not _DEBUG then
-- Gui.info.toggle_window(player)
-- end
if crew_to_put_back_in then
log('INFO: ' .. player.name .. ' (crew ID: ' .. crew_to_put_back_in .. ') joined the game')
@ -1551,10 +1555,6 @@ local function event_on_player_joined_game(event)
-- end
end
if not _DEBUG then
Gui.info.toggle_window(player)
end
global_memory.last_players_health[event.player_index] = player.character.health
-- player.teleport(surface.find_non_colliding_position('character', spawnpoint, 32, 0.5), surface)