- Added Chief of Staff class.
This commit is contained in:
Frank
2020-07-19 01:22:49 +02:00
parent 9473dc2069
commit 5cb1036618
8 changed files with 899 additions and 420 deletions

View File

@@ -250,9 +250,9 @@ end
-- @param #nunits Number of units. Must be >=1 and <=4. Default 2.
-- @return #SQUADRON self
function SQUADRON:SetGrouping(nunits)
self.grouping=nunits or 2
if self.grouping<1 then self.grouping=1 end
if self.grouping>4 then self.grouping=4 end
self.ngrouping=nunits or 2
if self.ngrouping<1 then self.ngrouping=1 end
if self.ngrouping>4 then self.ngrouping=4 end
return self
end