Factorio: Don't trigger bridge file on receiving a technology from server
This commit is contained in:
		
							parent
							
								
									6e916ebd45
								
							
						
					
					
						commit
						1d84346705
					
				|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue