Revert Health back to regular
This commit is contained in:
parent
daa0bd72e9
commit
d38f165464
@ -746,8 +746,7 @@ function UpdateReplicatedPlayerHealth()
|
|||||||
if( OwnerPawn != none && OwnerPawn.Health != PlayerHealth )
|
if( OwnerPawn != none && OwnerPawn.Health != PlayerHealth )
|
||||||
{
|
{
|
||||||
PlayerHealth = OwnerPawn.Health;
|
PlayerHealth = OwnerPawn.Health;
|
||||||
//PlayerHealthPercent = FloatToByte( float(OwnerPawn.Health) / float(OwnerPawn.HealthMax) );
|
PlayerHealthPercent = FloatToByte( float(OwnerPawn.Health) / float(OwnerPawn.HealthMax) );
|
||||||
PlayerHealthPercent *= float(OwnerPawn.Health) / float(OwnerPawn.HealthMax);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user