mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
FACTO-278: Fixed squad compression disabling
This commit is contained in:
parent
ce135de257
commit
acd3e47c41
@ -1,3 +1,8 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.2.1
|
||||
Bugfixes:
|
||||
- Squad compression setting would trigger squad compression even with -1 as mod setting
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.2.0
|
||||
Contributions:
|
||||
@ -70,7 +75,7 @@ Version: 3.2.0
|
||||
- Fixed attack squads required both player structures and player pheromone above threshold to switch into attack mode
|
||||
Optimizations:
|
||||
- Moved most constants out of global
|
||||
- Removed new enemy variations setting
|
||||
- Reduced new enemy variations setting
|
||||
- Moved neturalObject scan chunk to after a chunk is determined to be passable
|
||||
- Centralized base points manipulation and chat messaging (Dagothur)
|
||||
- Base point deductions for unit losses are now batched in 20 to reduce chat spam when using the print AI points to chat options (Dagothur)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name" : "Rampant",
|
||||
"factorio_version" : "1.1",
|
||||
"version" : "3.2.0",
|
||||
"version" : "3.2.1",
|
||||
"title" : "Rampant",
|
||||
"author" : "Veden",
|
||||
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",
|
||||
|
@ -262,7 +262,9 @@ function Squad.compressSquad(squad)
|
||||
local compressionSet = {}
|
||||
local group = squad.group
|
||||
local members = group.members
|
||||
if #members < Universe.squadCompressionThreshold then
|
||||
if (Universe.squadCompressionThreshold == -1)
|
||||
or (#members <= Universe.squadCompressionThreshold)
|
||||
then
|
||||
squad.canBeCompressed = false
|
||||
return
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user