Merge branch 'develop' into FF/Ops

This commit is contained in:
Frank
2021-11-07 18:20:27 +01:00
25 changed files with 191041 additions and 487 deletions

View File

@@ -563,12 +563,12 @@ function GROUP:GetSpeedMax()
local Units=self:GetUnits()
local speedmax=nil
local speedmax=0
for _,unit in pairs(Units) do
local unit=unit --Wrapper.Unit#UNIT
local speed=unit:GetSpeedMax()
if speedmax==nil then
if speedmax==0 then
speedmax=speed
elseif speed<speedmax then
speedmax=speed