diff --git a/changelog.txt b/changelog.txt index f5e5253..6fc1808 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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: diff --git a/control.lua b/control.lua index b78a4be..176b926 100644 --- a/control.lua +++ b/control.lua @@ -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 diff --git a/info.json b/info.json index 9e336e2..c2990de 100644 --- a/info.json +++ b/info.json @@ -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",