mirror of
https://github.com/HaodongMo/ARC-9.git
synced 2025-03-04 03:02:58 -05:00
Update sh_inspect.lua
- If a weapon does not have an "inspect" or "enter_inspect" animation, it can no longer utilize inspect.
This commit is contained in:
parent
4fa7d3f8d1
commit
05d4fbc4f4
@ -5,6 +5,7 @@ function SWEP:ThinkInspect()
|
||||
if self.NextUBGLSwitch and self.NextUBGLSwitch > CurTime() then return end
|
||||
if self:GetUBGL() and !self:HasAnimation("inspect_ubgl") then return end
|
||||
if self:GetGrenadePrimed() then return end
|
||||
if !(self:HasAnimation("enter_inspect") or self:HasAnimation("inspect")) then return end
|
||||
|
||||
local owner = self:GetOwner()
|
||||
local inspecting = self:GetInspecting()
|
||||
|
Loading…
Reference in New Issue
Block a user