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

pirates: remove ghost_time_to_live

This commit is contained in:
danielmartin0 2024-09-25 15:55:43 +01:00
parent 3121faffe8
commit df3723993d
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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