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:
commit
a80cddfc51
@ -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',
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user