mirror of
https://github.com/veden/Rampant.git
synced 2025-01-28 03:29:34 +02:00
see changelog
This commit is contained in:
parent
601352efb0
commit
8e46e96667
@ -1,3 +1,9 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.0.9
|
||||
Date: 21. 04. 2021
|
||||
Bugfixes:
|
||||
- Surface tile changes using waterfill causing excess UPS usage
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.0.8
|
||||
Date: 16. 04. 2021
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name" : "Rampant",
|
||||
"factorio_version" : "1.1",
|
||||
"version" : "1.0.8",
|
||||
"version" : "1.0.9",
|
||||
"title" : "Rampant",
|
||||
"author" : "Veden",
|
||||
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
||||
|
@ -135,25 +135,23 @@ function chunkProcessor.processScanChunks(map)
|
||||
|
||||
local chunkToPassScan = map.chunkToPassScan
|
||||
|
||||
for chunk,_ in pairs(chunkToPassScan) do
|
||||
local x = chunk.x
|
||||
local y = chunk.y
|
||||
for preScanChunk in pairs(chunkToPassScan) do
|
||||
local x = preScanChunk.x
|
||||
local y = preScanChunk.y
|
||||
|
||||
topOffset[1] = x
|
||||
topOffset[2] = y
|
||||
bottomOffset[1] = x + CHUNK_SIZE
|
||||
bottomOffset[2] = y + CHUNK_SIZE
|
||||
|
||||
chunk = chunkPassScan(chunk, map)
|
||||
|
||||
if (chunk == -1) then
|
||||
if (chunkPassScan(preScanChunk, map) == -1) then
|
||||
map[x][y] = nil
|
||||
|
||||
chunkCount = chunkCount + 1
|
||||
removals[chunkCount] = chunk
|
||||
removals[chunkCount] = preScanChunk
|
||||
end
|
||||
|
||||
chunkToPassScan[chunk] = nil
|
||||
chunkToPassScan[preScanChunk] = nil
|
||||
end
|
||||
|
||||
if (chunkCount > 0) then
|
||||
|
Loading…
x
Reference in New Issue
Block a user