mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Small fix for SET_UNIT if used in capture zone coalition with a polygon zone
This commit is contained in:
parent
484fab26e0
commit
f093fef8f8
@ -2114,8 +2114,10 @@ do -- SET_UNIT
|
|||||||
|
|
||||||
self:Add( Unit:GetName(), Unit )
|
self:Add( Unit:GetName(), Unit )
|
||||||
|
|
||||||
|
if Unit:IsInstanceOf("UNIT") then
|
||||||
-- Set the default cargo bay limit each time a new unit is added to the set.
|
-- Set the default cargo bay limit each time a new unit is added to the set.
|
||||||
Unit:SetCargoBayWeightLimit()
|
Unit:SetCargoBayWeightLimit()
|
||||||
|
end
|
||||||
|
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user