18 lines
322 B
Lua
18 lines
322 B
Lua
|
AddCSLuaFile("cl_init.lua")
|
||
|
AddCSLuaFile("shared.lua")
|
||
|
|
||
|
include("shared.lua")
|
||
|
|
||
|
SWEP.MoanDelay = 1
|
||
|
|
||
|
function SWEP:Reload()
|
||
|
if CurTime() < self:GetNextSecondaryFire() then return end
|
||
|
self:SetNextSecondaryFire(CurTime() + self.MoanDelay)
|
||
|
|
||
|
if self:IsMoaning() then
|
||
|
self:StopMoaning()
|
||
|
else
|
||
|
self:StartMoaning()
|
||
|
end
|
||
|
end
|