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:
parent
e5e5faa3c2
commit
2f668656b8
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user