This commit is contained in:
Applevangelist
2025-01-05 17:43:21 +01:00
parent 34a11e79b3
commit a2c241da43
4 changed files with 32 additions and 9 deletions

View File

@@ -1733,11 +1733,12 @@ do
self.SamStateTracker[name] = "RED"
end
if shortsam == true and self.SmokeDecoy == true then
self:I("Smoking")
local units = samgroup:GetUnits() or {}
local smoke = self.SmokeDecoyColor or SMOKECOLOR.White
for _,unit in pairs(units) do
if unit and unit:IsAlive() then
unit:Smoke(smoke,2,2)
unit:GetCoordinate():Smoke(smoke)
end
end
end