Speedmax returning 0 not nil

This commit is contained in:
Applevangelist 2021-10-30 16:33:18 +02:00
parent 18745158a3
commit 45dbce3677

View File

@ -442,7 +442,7 @@ function UNIT:GetSpeedMax()
return SpeedMax*3.6 return SpeedMax*3.6
end end
return nil return 0
end end
--- Returns the unit's max range in meters derived from the DCS descriptors. --- Returns the unit's max range in meters derived from the DCS descriptors.