Skip to content

Commit

Permalink
Fix scav rep
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Jul 14, 2024
1 parent c4ae7bf commit 63a6129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Fika.Core/Coop/Players/CoopPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,9 @@ public override void OnBeenKilledByAggressor(IPlayer aggressor, DamageInfo damag
base.OnBeenKilledByAggressor(aggressor, damageInfo, bodyPart, lethalDamageType);

// Handle 'Help Scav' rep gains
if (aggressor is CoopPlayer coopPlayer && coopPlayer.IsYourPlayer)
if (aggressor is CoopPlayer coopPlayer)
{
if (coopPlayer.Side != EPlayerSide.Savage)
if (coopPlayer.Side == EPlayerSide.Savage)
{
coopPlayer.Loyalty.method_1(this);
}
Expand Down

0 comments on commit 63a6129

Please sign in to comment.