diff --git a/lua/keymap/hotbuild.lua b/lua/keymap/hotbuild.lua index fe9479f0b2..3b70fa87a8 100644 --- a/lua/keymap/hotbuild.lua +++ b/lua/keymap/hotbuild.lua @@ -364,10 +364,7 @@ function buildAction(name) local selection = GetSelectedUnits() if selection then -- If current selection is engineer or commander or megalith - if not table.empty(EntityCategoryFilterDown(categories.ENGINEER - categories.STRUCTURE, selection)) or - not - table.empty(EntityCategoryFilterDown(categories.FACTORY * categories.EXPERIMENTAL * categories.CYBRAN, - selection)) then + if not table.empty(EntityCategoryFilterDown(categories.ENGINEER - categories.STRUCTURE + categories.xrl0403, selection)) then buildActionBuilding(name, modifier) else -- Buildqueue or normal applying all the command buildActionUnit(name, modifier)