mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Factorio: Don't trigger bridge file on receiving a technology from server
This commit is contained in:
@@ -142,7 +142,9 @@ end)
|
|||||||
-- hook into researches done
|
-- hook into researches done
|
||||||
script.on_event(defines.events.on_research_finished, function(event)
|
script.on_event(defines.events.on_research_finished, function(event)
|
||||||
local technology = event.research
|
local technology = event.research
|
||||||
dumpInfo(technology.force)
|
if technology.researched and string.find(technology.name, "ap%-") == 1 then
|
||||||
|
dumpInfo(technology.force) --is sendable
|
||||||
|
end
|
||||||
if FREE_SAMPLES == 0 then
|
if FREE_SAMPLES == 0 then
|
||||||
return -- Nothing else to do
|
return -- Nothing else to do
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user