Merge changes from master into dev for GROUP (#1781)

* #GROUP
* changes from Dev
#UNIT
* changes from Dev

* #GROUP
Fix GetSpeedMax() always returns zero
This commit is contained in:
Thomas 2022-09-09 17:50:18 +02:00 committed by GitHub
parent 35513e1e21
commit 27550d7ec9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -571,7 +571,7 @@ function GROUP:GetSpeedMax()
local Units=self:GetUnits()
local speedmax=0
local speedmax=nil
for _,unit in pairs(Units) do
local unit=unit --Wrapper.Unit#UNIT