From 8671258aa0c85260f8a85b27293c065945f1d100 Mon Sep 17 00:00:00 2001 From: Lynn Date: Tue, 6 Nov 2018 19:12:58 +0100 Subject: [PATCH] Reduce cave opening frame drops --- map_gen/Diggy/Feature/DiggyHole.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/map_gen/Diggy/Feature/DiggyHole.lua b/map_gen/Diggy/Feature/DiggyHole.lua index 03fcdb86..41d63d76 100644 --- a/map_gen/Diggy/Feature/DiggyHole.lua +++ b/map_gen/Diggy/Feature/DiggyHole.lua @@ -76,8 +76,8 @@ function DiggyHole.register(config) -- fixes massive frame drops when too much stone is spilled local stones = surface.find_entities_filtered({ - area = {{position.x - 1, position.y - 1}, {position.x + 1, position.y + 1}}, - limit = 20, + area = {{position.x - 2, position.y - 2}, {position.x + 2, position.y + 2}}, + limit = 60, type = 'item-entity', name = 'item-on-ground', })