mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Fixing limit of cargo to 10
This commit is contained in:
parent
e16eb38764
commit
58b2802f3a
@ -1192,7 +1192,7 @@ do -- DETECTION_BASE
|
||||
-- @return #map<#string,Wrapper.Unit#UNIT> The map of Friendly UNITs.
|
||||
function DETECTION_BASE:GetFriendliesNearBy( DetectedItem, Category )
|
||||
|
||||
return DetectedItem.FriendliesNearBy[Category]
|
||||
return DetectedItem.FriendliesNearBy and DetectedItem.FriendliesNearBy[Category]
|
||||
end
|
||||
|
||||
--- Returns if there are friendlies nearby the intercept ...
|
||||
|
||||
@ -162,7 +162,7 @@ do -- TASK_CARGO
|
||||
self.SmokeColor = SMOKECOLOR.Red
|
||||
|
||||
self.CargoItemCount = {} -- Map of Carriers having a cargo item count to check the cargo loading limits.
|
||||
self.CargoLimit = 6
|
||||
self.CargoLimit = 10
|
||||
|
||||
self.DeployZones = {} -- setmetatable( {}, { __mode = "v" } ) -- weak table on value
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user