mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
see changelog
This commit is contained in:
parent
020bb1a747
commit
e671966c59
@ -1,3 +1,9 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.18.14
|
||||
Date: 25. 4 2020
|
||||
Bugfixes:
|
||||
- Tile placement fixed
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.18.13
|
||||
Date: 16. 4 2020
|
||||
|
@ -872,7 +872,8 @@ local function onSurfaceTileChange(event)
|
||||
if (surface.index == surfaceIndex) then
|
||||
local chunks = {}
|
||||
local tiles = event.tiles
|
||||
if event.tile and ((event.tile.name == "landfill") or sFind(event.tile.name, "water")) then
|
||||
if event.tile then
|
||||
if ((event.tile.name == "landfill") or sFind(event.tile.name, "water")) then
|
||||
for i=1,#tiles do
|
||||
local position = tiles[i].position
|
||||
local chunk = getChunkByPosition(map, position)
|
||||
@ -897,6 +898,7 @@ local function onSurfaceTileChange(event)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
else
|
||||
for i=1,#tiles do
|
||||
local tile = tiles[i]
|
||||
|
Loading…
x
Reference in New Issue
Block a user