Merge pull request #2316 from FlightControl-Master/master

Fixes from Master
This commit is contained in:
Thomas
2025-06-18 14:34:04 +02:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

View File

@@ -459,8 +459,9 @@ end
function SPAWNSTATIC:SpawnFromZone(Zone, Heading, NewName)
-- Spawn the new static at the center of the zone.
local Static = self:SpawnFromPointVec2( Zone:GetPointVec2(), Heading, NewName )
--local Static = self:SpawnFromPointVec2( Zone:GetPointVec2(), Heading, NewName )
local Static = self:SpawnFromCoordinate(Zone:GetCoordinate(), Heading, NewName)
return Static
end