forked from Simnation/Main
Update main.lua
This commit is contained in:
parent
a45dfb0784
commit
0070350cd1
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ CreateThread(function()
|
|||
local isInMarker = false
|
||||
|
||||
for k, v in pairs(Config.Zonen) do
|
||||
local dist = #(playerCoords - vector3(v.NPC.spawn.x, v.NPC.spawn.y, v.NPC.spawn.z))
|
||||
local dist = #(coords - vector3(v.NPC.spawn.x, v.NPC.spawn.y, v.NPC.spawn.z))
|
||||
local spawnDistance = v.NPC.distance
|
||||
|
||||
if dist <= spawnDistance then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue