1
0
This commit is contained in:
GenZmeY 2021-03-23 19:19:31 +03:00
parent 7977e0103d
commit 9553ac0b31

View File

@ -1304,10 +1304,6 @@ event TakeDamage(int Damage, Controller InstigatedBy, vector HitLocation, vector
KFGRI = KFGameReplicationInfo(KFGameInfo(WorldInfo.Game).GameReplicationInfo);
`Log("ARMOR OLD: " $ OldArmor);
`Log("ARMOR NEW: " $ Armor);
`Log("ARMOR diff: " $ OldArmor - Armor);
if( (ActualDamageTaken > 0 || OldArmor - Armor > 0) && IsAliveAndWell() && !KFGRI.bTraderIsOpen )
{
KFPlayerController(Controller).NotifyHitTaken();