mirror of
https://github.com/Refactorio/RedMew.git
synced 2024-12-12 10:04:40 +02:00
Merge pull request #932 from linaori/fix/on_player_built_tile
Ensure the new tile is set, not the item
This commit is contained in:
commit
e72fc1c4a2
@ -376,7 +376,7 @@ function DiggyCaveCollapse.register(cfg)
|
|||||||
Event.add(
|
Event.add(
|
||||||
defines.events.on_player_built_tile,
|
defines.events.on_player_built_tile,
|
||||||
function(event)
|
function(event)
|
||||||
on_built_tile(game.surfaces[event.surface_index], event.item, event.tiles)
|
on_built_tile(game.surfaces[event.surface_index], event.tile, event.tiles)
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
Event.add(defines.events.on_robot_mined_tile, on_robot_mined_tile)
|
Event.add(defines.events.on_robot_mined_tile, on_robot_mined_tile)
|
||||||
|
Loading…
Reference in New Issue
Block a user