Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Applevangelist committed Oct 1, 2024
2 parents 8ede1fb + 3524cba commit ef4f1a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Moose Development/Moose/Functional/Warehouse.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8433,12 +8433,14 @@ function WAREHOUSE:_GetAttribute(group)
local attribute=WAREHOUSE.Attribute.OTHER_UNKNOWN --#WAREHOUSE.Attribute

if group then

local groupCat=group:GetCategory()

-----------
--- Air ---
-----------
-- Planes
local transportplane=group:HasAttribute("Transports") and group:HasAttribute("Planes")
local transportplane=group:HasAttribute("Transports") and group:HasAttribute("Planes") and groupCat==Group.Category.AIRPLANE
local awacs=group:HasAttribute("AWACS")
local fighter=group:HasAttribute("Fighters") or group:HasAttribute("Interceptors") or group:HasAttribute("Multirole fighters") or (group:HasAttribute("Bombers") and not group:HasAttribute("Strategic bombers"))
local bomber=group:HasAttribute("Strategic bombers")
Expand Down

0 comments on commit ef4f1a8

Please sign in to comment.