1
0
mirror of https://github.com/veden/Rampant.git synced 2025-01-28 03:29:34 +02:00

see changelog

This commit is contained in:
Aaron Veden 2021-04-21 20:46:50 -07:00
parent 601352efb0
commit 8e46e96667
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
3 changed files with 13 additions and 9 deletions

View File

@ -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

View File

@ -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",

View File

@ -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