Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Ltnb cerbys
Browse files Browse the repository at this point in the history
  • Loading branch information
magmen3 authored Jun 10, 2024
1 parent f6a1e3d commit a78ee95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenGrad/lua/homigrad_scr/game/tier_1/fake/sv_fake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ hook.Add("Player Think","FakeControl",function(ply,time) --управление
head:ComputeShadowControl(shadowparams)
end
end
if (ply:KeyDown(IN_SPEED)) and !RagdollOwner(rag).Otrub and !timer.Exists("StunTime"..ply:EntIndex()) then
if (ply:KeyDown(IN_SPEED)) and (RagdollOwner(rag) and !RagdollOwner(rag).Otrub) and !timer.Exists("StunTime" .. ply:EntIndex()) then
local bone = rag:TranslateBoneToPhysBone(rag:LookupBone( "ValveBiped.Bip01_L_Hand" ))
local phys = rag:GetPhysicsObjectNum( rag:TranslateBoneToPhysBone(rag:LookupBone( "ValveBiped.Bip01_L_Hand" )) )
if ply.Organs["artery"] == 0 and !TwoHandedOrNo[ply.curweapon] then
Expand Down

1 comment on commit a78ee95

@magmen3
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Все больше апдейтов не будет всем спасибо за просмотры всееем пока пока

Please sign in to comment.