mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
FACTO-276: Fixed base being nil in processVengence
This commit is contained in:
parent
acd3e47c41
commit
2876ee795b
@ -2,6 +2,7 @@
|
||||
Version: 3.2.1
|
||||
Bugfixes:
|
||||
- Squad compression setting would trigger squad compression even with -1 as mod setting
|
||||
- Fixed base being nil in processVengence function
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.2.0
|
||||
|
@ -382,10 +382,12 @@ function Processor.processVengence()
|
||||
return
|
||||
end
|
||||
local base = chunk.base
|
||||
if canMigrate(base) and (Universe.random() < 0.075) then
|
||||
formVengenceSettler(chunk)
|
||||
else
|
||||
formVengenceSquad(chunk)
|
||||
if base then
|
||||
if canMigrate(base) and (Universe.random() < 0.075) then
|
||||
formVengenceSettler(chunk)
|
||||
else
|
||||
formVengenceSquad(chunk)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user