mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
fix(zones): Fix error that occurs when there are no duplicate z-coords (#723)
This commit is contained in:
@@ -334,7 +334,7 @@ lib.zones = {
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
local zCoord = coordsArray[1].coord
|
local zCoord = coordsArray[1].coord
|
||||||
local averageTo
|
local averageTo = 1
|
||||||
|
|
||||||
for i = 1, #coordsArray do
|
for i = 1, #coordsArray do
|
||||||
if coordsArray[i].count < coordsArray[1].count then
|
if coordsArray[i].count < coordsArray[1].count then
|
||||||
|
|||||||
Reference in New Issue
Block a user