1
0
mirror of https://github.com/veden/Rampant.git synced 2025-03-17 20:58:35 +02:00

FACTO-280: Fixed invalid unit group ref when unawakened state

This commit is contained in:
Aaron Veden 2023-04-01 18:25:21 -07:00
parent e5e5faa3c2
commit 2f668656b8
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
---------------------------------------------------------------------------------------------------
Version: 3.2.2
Bugfixes:
- Fixed invalid unit group in gathering when the AI hasn't awakened
---------------------------------------------------------------------------------------------------
Version: 3.2.1
Contributions:

View File

@ -807,6 +807,7 @@ local function onGroupFinishedGathering(event)
end
if not Universe.awake then
group.destroy()
return
end
local map = Universe.maps[group.surface.index]
if not map then

View File

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