1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-01-08 00:39:30 +02:00

disband guards

This commit is contained in:
danielmartin0 2024-09-11 13:42:45 +01:00
parent c8072b21b5
commit c8d2871d79
2 changed files with 3 additions and 1 deletions

View File

@ -330,6 +330,7 @@ end
local crowsnest_delayed = Token.register(
function(data)
Memory.set_working_id(data.crew_id)
if not Common.is_id_valid(data.crew_id) then return end --check if crew disbanded
Public.crowsnest_surface_delayed_init()
end
)

View File

@ -260,8 +260,9 @@ local silo_chart_tag = Token.register(
Memory.set_working_id(data.crew_id)
local memory = Memory.get_crew_memory()
if memory.game_lost then return end
if not Common.is_id_valid(data.crew_id) then return end --check if crew disbanded
local destination = Common.current_destination()
local force = memory.force