1
0
mirror of https://github.com/veden/Rampant.git synced 2024-12-26 20:54:12 +02:00

FACTO-301: Fixed hivedata cleanup not using hiveId

This commit is contained in:
Aaron Veden 2023-04-07 17:54:56 -07:00
parent c7252ea938
commit 1b0dfb4191
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 3.3.1
Bugfixes:
- Fixed hive owned structure cleanup routine from not checking hive id correctly
---------------------------------------------------------------------------------------------------
Version: 3.3.0
Improvements:
- Re-added kamikaze squad state to prevent unit group dancing and then disbanding

View File

@ -1,7 +1,7 @@
{
"name" : "Rampant",
"factorio_version" : "1.1",
"version" : "3.3.0",
"version" : "3.3.1",
"title" : "Rampant",
"author" : "Veden",
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",

View File

@ -555,7 +555,7 @@ function Processor.cleanHivesData()
end
Universe.hiveDataIterator = next(Universe.hiveData, entityId)
if not Universe.hives[hiveData.id] then
if not Universe.hives[hiveData.hiveId] then
Universe.hiveData[entityId] = nil
end
end