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:
parent
a087fb84b4
commit
ffe6f0d965
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user