Small fixes

This commit is contained in:
Applevangelist
2024-09-23 12:43:39 +02:00
parent ae08c87822
commit a798f2d61c
2 changed files with 11 additions and 3 deletions

View File

@@ -8355,14 +8355,17 @@ do -- SET_SCENERY
-- @param #SET_SCENERY self
-- @return Core.Point#COORDINATE The center coordinate of all the objects in the set.
function SET_SCENERY:GetCoordinate()
--[[
local Coordinate = COORDINATE:New({0,0,0})
local Item = self:GetRandomSurely()
if Item then
Coordinate:GetCoordinate()
end
--]]
local Coordinate = self:GetFirst():GetCoordinate()
local x1 = Coordinate.x
local x2 = Coordinate.x