Merge branch 'develop' into FF/Ops

This commit is contained in:
Frank
2022-04-27 22:46:36 +02:00
15 changed files with 2315 additions and 633 deletions

View File

@@ -3259,9 +3259,9 @@ function AUFTRAG:IsSuccess()
return self.status==AUFTRAG.Status.SUCCESS
end
--- Check if mission is over. This could be state DONE or CANCELLED.
--- Check if mission is over. This could be state DONE, CANCELLED, SUCCESS, FAILED.
-- @param #AUFTRAG self
-- @return #boolean If true, mission is currently executing.
-- @return #boolean If true, mission is over.
function AUFTRAG:IsOver()
local over = self.status==AUFTRAG.Status.DONE or self.status==AUFTRAG.Status.CANCELLED or self.status==AUFTRAG.Status.SUCCESS or self.status==AUFTRAG.Status.FAILED
return over