Skip to content

Commit

Permalink
Update DO changelog (#1462)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedRafe authored Dec 1, 2024
1 parent e35851a commit 0bc4f06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions map_gen/maps/danger_ores/changelog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
]]
2 changes: 1 addition & 1 deletion map_gen/maps/danger_ores/modules/permanence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0bc4f06

Please sign in to comment.