mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
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:
parent
35513e1e21
commit
27550d7ec9
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user