mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
OPS
- CHIEF: fixed bug in LEGION.RecruitCohortAssets() function call - COMMANDER: added total weight to LEGION.RecruitCohortAssets() function call - POSITIONABLE: fixed bug in relFuel calculation for cargo bay size
This commit is contained in:
@@ -541,6 +541,9 @@ function OPSGROUP:New(group)
|
||||
else
|
||||
|
||||
end
|
||||
|
||||
-- Set gen attribute.
|
||||
self.attribute=self.group:GetAttribute()
|
||||
|
||||
local units=self.group:GetUnits()
|
||||
|
||||
@@ -864,6 +867,12 @@ function OPSGROUP:GetLifePoints(Element)
|
||||
return life, life0
|
||||
end
|
||||
|
||||
--- Get generalized attribute.
|
||||
-- @param #OPSGROUP self
|
||||
-- @return #string Generalized attribute.
|
||||
function OPSGROUP:GetAttribute()
|
||||
return self.attribute
|
||||
end
|
||||
|
||||
--- Set verbosity level.
|
||||
-- @param #OPSGROUP self
|
||||
|
||||
Reference in New Issue
Block a user