Skip to content

Commit

Permalink
Update Content.Server/_White/Headcrab/HeadcrabSystem.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Spatison <[email protected]>
  • Loading branch information
PuroSlavKing and Spatison authored Dec 26, 2024
1 parent 6287c35 commit 7ed51e3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Content.Server/_White/Headcrab/HeadcrabSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,9 @@ private void OnGotEquipped(EntityUid uid, HeadcrabComponent component, GotEquipp
private void OnUnequipAttempt(EntityUid uid, HeadcrabComponent component, BeingUnequippedAttemptEvent args)
{
if (args.Slot != "mask")

Check failure on line 106 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

Invalid expression term '||'

Check failure on line 106 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Invalid expression term '||'

Check failure on line 106 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

Invalid expression term '||'

Check failure on line 106 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Invalid expression term '||'
return;
if (component.EquippedOn != args.Unequipee)
return;
if (HasComp<ZombieComponent>(args.Unequipee))
|| component.EquippedOn != args.Unequipee)

Check failure on line 107 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

; expected

Check failure on line 107 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

} expected

Check failure on line 107 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

Invalid expression term '||'

Check failure on line 107 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

; expected

Check failure on line 107 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

} expected

Check failure on line 107 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Invalid expression term '||'

Check failure on line 107 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

; expected

Check failure on line 107 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

} expected

Check failure on line 107 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

Invalid expression term '||'

Check failure on line 107 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

; expected

Check failure on line 107 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

} expected

Check failure on line 107 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

Invalid expression term '||'
|| HasComp<ZombieComponent>(args.Unequipee)
|| _mobState.IsDead(uid))

Check failure on line 109 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

; expected

Check failure on line 109 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / YAML Linter

} expected

Check failure on line 109 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

; expected

Check failure on line 109 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

} expected

Check failure on line 109 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

; expected

Check failure on line 109 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / Test Packaging

} expected

Check failure on line 109 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

; expected

Check failure on line 109 in Content.Server/_White/Headcrab/HeadcrabSystem.cs

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest)

} expected
return;
_popup.PopupEntity(Loc.GetString("headcrab-try-unequip"),
args.Unequipee, args.Unequipee, PopupType.Large);
Expand Down

0 comments on commit 7ed51e3

Please sign in to comment.