#EASYGCICAP - Fix restart function to restart, not start, the Airwings, and call Status itself afterwards

This commit is contained in:
Applevangelist
2026-04-08 15:17:54 +02:00
parent 51e5f53965
commit 56520092c3
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -1835,9 +1835,10 @@ function EASYGCICAP:onafterRestart(From,Event,To)
-- self.wings[Airbasename] = { CAP_Wing, AIRBASE:FindByName(Airbasename):GetZone(), Airbasename }
for _,_wing in pairs(self.wings or {}) do
for _,_aw in pairs(_wing) do
_wing[1]:Start()
_wing[1]:Restart()
end
end
end
self:__Status(5)
return self
end