mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-14 10:13:13 +02:00
Players die on collapse now
This commit is contained in:
parent
06479dba79
commit
dd31190635
@ -87,7 +87,7 @@ local function create_collapse_template(positions, surface)
|
||||
local y = position.y
|
||||
local do_insert = true
|
||||
|
||||
for _, entity in pairs(find_entities_filtered({position = position})) do
|
||||
for _, entity in pairs(find_entities_filtered{area = {{x, y}, {x + 1, y + 1}}}) do
|
||||
pcall(function()
|
||||
local strength = support_beam_entities[entity.name]
|
||||
if strength then
|
||||
|
Loading…
Reference in New Issue
Block a user