Skip to content

Commit

Permalink
вы нахуй меня дрочите?!!
Browse files Browse the repository at this point in the history
  • Loading branch information
pofitlo-Git committed Nov 25, 2024
1 parent 6d52602 commit 7daaf2d
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@ public override void Initialize()

private void DoJump(Entity<AgillitySkillComponent> ent, ref StartCollideEvent args)
{
if (!ent.Comp.Active || !ent.Comp.JumpEnabled)
return;
if (args.OurFixture.CollisionMask != BaseCollisionGroup)
return;
if (args.OtherFixture.CollisionMask != (int)CollisionGroup.TableMask)
if (!ent.Comp.Active || !ent.Comp.JumpEnabled
|| args.OurFixture.CollisionMask != BaseCollisionGroup
|| args.OtherFixture.CollisionMask != (int)CollisionGroup.TableMask)
return;

_stamina.TryTakeStamina(ent.Owner, ent.Comp.StaminaDamageOnJump);
Expand Down

0 comments on commit 7daaf2d

Please sign in to comment.