Fallout fixes

This commit is contained in:
Applevangelist
2022-05-06 11:45:11 +02:00
parent ba4a8050ba
commit cc49791997
5 changed files with 9 additions and 6 deletions

View File

@@ -873,7 +873,7 @@ function AI_PATROL_ZONE:onafterRTB()
--- Calculate the current route point.
local CurrentVec2 = self.Controllable:GetVec2()
if not CurrentVec2 then return end
--DONE: Create GetAltitude function for GROUP, and delete GetUnit(1).
--local CurrentAltitude = self.Controllable:GetUnit(1):GetAltitude()
local CurrentAltitude = self.Controllable:GetAltitude()