mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
Include forcer in hook (#2626)
This commit is contained in:
parent
d9a0572991
commit
b20a7f005f
@ -81,7 +81,7 @@ function ENT:Think()
|
||||
if not IsValid(self:GetPlayer()) or gamemode.Call( "GravGunPickupAllowed", self:GetPlayer(), ent )==false then return end
|
||||
end
|
||||
|
||||
if hook.Run( "Wire_ForcerCanUse", self:GetPlayer(), ent ) == false then return end
|
||||
if hook.Run( "Wire_ForcerCanUse", self:GetPlayer(), ent, self ) == false then return end
|
||||
|
||||
if ent:GetMoveType() == MOVETYPE_VPHYSICS then
|
||||
local phys = ent:GetPhysicsObject()
|
||||
|
Loading…
Reference in New Issue
Block a user