forked from Simnation/Main
Update main.lua
This commit is contained in:
parent
3fbfa8d38c
commit
2c79572f71
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ CreateThread(function()
|
|||
local spawnDistance = v.NPC.distance
|
||||
|
||||
if dist < spawnDistance and not isNPCSpawned then
|
||||
SpawnGuardNPC()
|
||||
SpawnGuardNPC(v.NPC)
|
||||
elseif dist > spawnDistance and isNPCSpawned then
|
||||
RemoveGuardNPC()
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue