my event calls this:
local arrayWithTiles = {"water", "deepwater", "water-green", "deepwater-green", "water-shallow", "water-mud", "water-wube"}
for chunk in game.surfaces[1].get_chunks() do
if game.surfaces[1].get_pollution({chunk.x,chunk.y}) > 1 then
area_fromChunk={left_top={x=chunk.x*32,y=chunk.y*32+31},right_bottom={x=chunk.x*32+31,y=chunk.y*32}}
if game.surfaces[1].find_tiles_filtered({area = area_fromChunk, name = arrayWithTiles}) then
game.print("found water")
end end so on

i tried it with limit too - made no difference
after my event fires that code line my game freezes and finaly crashes. So.. what did i do wrong?
