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:
@@ -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 ...
|
||||
|
||||
Reference in New Issue
Block a user