1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2025-01-18 03:21:47 +02:00

Fixed hazard left and right names

This commit is contained in:
SimonFlapse 2019-10-05 18:42:50 +02:00
parent a087fb84b4
commit ffe6f0d965

View File

@ -273,6 +273,10 @@ local function player_mined_tile(event)
table.insert(tiles, {name = name, position = oldTile.position})
if name == 'stone-path' then
name = 'stone-brick'
elseif name == 'hazard-concrete-left' or name == 'hazard-concrete-right' then
name = 'hazard-concrete'
elseif name == 'refined-hazard-concrete-left' or name == 'refined-hazard-concrete-right' then
name = 'refined-hazard-concrete'
end
player.remove_item({name = name})
end