Small fix for SET_UNIT if used in capture zone coalition with a polygon zone

This commit is contained in:
Applevangelist 2023-03-30 09:23:51 +02:00
parent 484fab26e0
commit f093fef8f8

View File

@ -2114,8 +2114,10 @@ do -- SET_UNIT
self:Add( Unit:GetName(), Unit ) self:Add( Unit:GetName(), Unit )
-- Set the default cargo bay limit each time a new unit is added to the set. if Unit:IsInstanceOf("UNIT") then
Unit:SetCargoBayWeightLimit() -- Set the default cargo bay limit each time a new unit is added to the set.
Unit:SetCargoBayWeightLimit()
end
return self return self
end end