diff --git a/maps/pirates/api_events.lua b/maps/pirates/api_events.lua index 03a9b0fd..9f7fd3ee 100644 --- a/maps/pirates/api_events.lua +++ b/maps/pirates/api_events.lua @@ -2011,7 +2011,7 @@ local function event_on_built_entity(event) end if entity.type == 'entity-ghost' and entity.force and entity.force.valid then - entity.time_to_live = entity.force.ghost_time_to_live + entity.time_to_live = 12 * 60 * 60 end if memory.boat and memory.boat.surface_name and player.surface == game.surfaces[memory.boat.surface_name] and entity.valid and entity.position then diff --git a/maps/pirates/crew.lua b/maps/pirates/crew.lua index 7f41185b..5b867185 100644 --- a/maps/pirates/crew.lua +++ b/maps/pirates/crew.lua @@ -943,7 +943,6 @@ function Public.reset_crew_and_enemy_force(id) crew_force.character_inventory_slots_bonus = 0 -- crew_force.character_inventory_slots_bonus = 10 crew_force.laboratory_productivity_bonus = 0 - crew_force.ghost_time_to_live = 12 * 60 * 60 crew_force.worker_robots_speed_modifier = 0.5 for k, v in pairs(Balance.player_ammo_damage_modifiers()) do