Remove Function
This commit is contained in:
parent
d38f165464
commit
1e7bcd732c
@ -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
|
defaultproperties
|
||||||
{
|
{
|
||||||
RespawnCounter=-1
|
RespawnCounter=-1
|
||||||
|
Loading…
Reference in New Issue
Block a user