1
0
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:
Valansch 2018-10-27 14:47:14 +02:00 committed by GitHub
parent 06479dba79
commit dd31190635
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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