Skip to content

Commit

Permalink
Remove Function
Browse files Browse the repository at this point in the history
  • Loading branch information
secretagentjr committed Jul 30, 2023
1 parent d38f165 commit 1e7bcd7
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions ServerExt/Classes/ExtPlayerReplicationInfo.uc
Original file line number Diff line number Diff line change
Expand Up @@ -736,22 +736,6 @@ event BeginState(Name N)
}
}

function UpdateReplicatedPlayerHealth()
{
local Pawn OwnerPawn;

if( KFPlayerOwner != none )
{
OwnerPawn = KFPlayerOwner.Pawn;
if( OwnerPawn != none && OwnerPawn.Health != PlayerHealth )
{
PlayerHealth = OwnerPawn.Health;
PlayerHealthPercent = FloatToByte( float(OwnerPawn.Health) / float(OwnerPawn.HealthMax) );
}
}
}


defaultproperties
{
RespawnCounter=-1
Expand Down

0 comments on commit 1e7bcd7

Please sign in to comment.