Why do you need to see particles that far away?

This commit is contained in:
Xerasin 2022-05-15 13:00:16 -07:00
parent 8458cf508d
commit 50b67f6b54

View File

@ -654,7 +654,12 @@ do -- sample meta
self.Samples = {}
end
local partDist = 2048 * 2048
function META:MakeParticle()
if CLIENT and LocalPlayer():GetPos():DistToSqr(self:GetPos()) > partDist then
return
end
local pitch = self.Pitch
emitter = emitter or ParticleEmitter(Vector())