Does not need to run on the server

This commit is contained in:
Xerasin 2022-05-15 16:47:54 -07:00
parent e0ffc96650
commit 33eb741d8d

View File

@ -621,10 +621,11 @@ do -- sample meta
end
self.WasPlaying = true
local wep = self.Player:GetActiveWeapon()
local looping = IsValid(wep) and wep.GetLooping and wep:GetLooping()
self:SetLooping(looping)
if CLIENT then
local wep = self.Player:GetActiveWeapon()
local looping = IsValid(wep) and wep.GetLooping and wep:GetLooping()
self:SetLooping(looping)
end
self:SetPitch(self:GetPlayerPitch())