Remove Function

This commit is contained in:
secretagentjr 2023-07-29 18:27:35 -07:00
parent d38f165464
commit 1e7bcd732c

View File

@ -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