diff --git a/LuaUI/Widgets/gui_chili_core_selector.lua b/LuaUI/Widgets/gui_chili_core_selector.lua index 47eebe736f..3f54d3cf7d 100644 --- a/LuaUI/Widgets/gui_chili_core_selector.lua +++ b/LuaUI/Widgets/gui_chili_core_selector.lua @@ -1922,7 +1922,7 @@ function widget:UnitIdle(unitID, unitDefID, unitTeam) wantUpdateCons = true end local ud = UnitDefs[unitDefID] - if CanBeAnIdleCons(ud) and IsConNotCarriedByEnemyTransport(unitID) then + if CanBeAnIdleCons(ud) and IsConNotCarriedByEnemyTransport(unitID) and Spring.GetUnitIsDead(unitID) == false then idleCons[unitID] = true wantUpdateCons = true end