mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-08 00:39:30 +02:00
disband guards
This commit is contained in:
parent
c8072b21b5
commit
c8d2871d79
@ -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
|
||||
)
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user