mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
#GROUP
Fix GetSpeedMax() always returns zero
This commit is contained in:
parent
3f052ef1da
commit
cea9437e66
@ -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