Fixed nasty bug where the same plane would be chosen all the time for request spawns. Root cause was the inherit. self variables were also copied during inherit of the chile object, resulting in a bad bad bad behaviour.

This commit is contained in:
FlightControl
2019-08-01 21:16:01 +03:00
parent 59447999f0
commit 115743263b
3 changed files with 53 additions and 4 deletions

View File

@@ -391,6 +391,7 @@ function AI_ESCORT:onafterStop( EscortGroupSet )
self.MainMenu:Remove()
end
--- Set a Detection method for the EscortUnit to be reported upon.
-- Detection methods are based on the derived classes from DETECTION_BASE.
-- @param #AI_ESCORT self