1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00

Merge pull request #269 from iltar/reduce-room-opening-frame-drops

Reduce cave opening frame drops
This commit is contained in:
Valansch 2018-11-07 11:59:48 +01:00 committed by GitHub
commit a80cddfc51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',
})