Skip to content

Commit

Permalink
sd
Browse files Browse the repository at this point in the history
  • Loading branch information
whateverusername0 committed Aug 6, 2024
1 parent ca22dde commit b0469f1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Content.Server/Nyanotrasen/Psionics/PsionicsSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,9 @@ private void OnRemove(EntityUid uid, PsionicComponent component, ComponentRemove
private void OnStamHit(EntityUid uid, AntiPsionicWeaponComponent component, TakeStaminaDamageEvent args)
{
var bonus = false;
foreach (var stam in args.HitList)
{
if (HasComp<PsionicComponent>(stam.Entity))
bonus = true;
}

if (HasComp<PsionicComponent>(args.Target))
bonus = true;

if (!bonus)
return;
Expand Down

0 comments on commit b0469f1

Please sign in to comment.