mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56: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)
|
||||
|
||||
local zCoord = coordsArray[1].coord
|
||||
local averageTo
|
||||
local averageTo = 1
|
||||
|
||||
for i = 1, #coordsArray do
|
||||
if coordsArray[i].count < coordsArray[1].count then
|
||||
|
||||
Reference in New Issue
Block a user