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 )
|
||||
{
|
||||
PlayerHealth = OwnerPawn.Health;
|
||||
//PlayerHealthPercent = FloatToByte( float(OwnerPawn.Health) / float(OwnerPawn.HealthMax) );
|
||||
PlayerHealthPercent *= float(OwnerPawn.Health) / float(OwnerPawn.HealthMax);
|
||||
PlayerHealthPercent = FloatToByte( float(OwnerPawn.Health) / float(OwnerPawn.HealthMax) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user