1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-04 09:42:30 +02:00

Update DO changelog (#1462)

This commit is contained in:
RedRafe 2024-12-01 08:06:53 +01:00 committed by GitHub
parent e35851ae14
commit 0bc4f06636
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -80,4 +80,8 @@ return [[
2024-11-27:
- [DO] Enabled presets: PyShort, Omnimatter (x2), and Scrap
- [DO] Changed default permissions to allow blueprints
2024-12-01:
- [DO:XCross] Added X-Cross preset
- [DO:Permanence] Added Permanence preset
]]

View File

@ -74,7 +74,7 @@ return function(config)
Event.add(defines.events.on_robot_mined_entity, on_mined)
Event.add(defines.events.on_entity_died, function(event)
local force = event.entity and event.entity.force
if force.name ~= 'player' then
if not force or force.name ~= 'player' then
return
end
on_mined(event)