upload
This commit is contained in:
parent
7977e0103d
commit
9553ac0b31
@ -1304,10 +1304,6 @@ event TakeDamage(int Damage, Controller InstigatedBy, vector HitLocation, vector
|
|||||||
|
|
||||||
KFGRI = KFGameReplicationInfo(KFGameInfo(WorldInfo.Game).GameReplicationInfo);
|
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 )
|
if( (ActualDamageTaken > 0 || OldArmor - Armor > 0) && IsAliveAndWell() && !KFGRI.bTraderIsOpen )
|
||||||
{
|
{
|
||||||
KFPlayerController(Controller).NotifyHitTaken();
|
KFPlayerController(Controller).NotifyHitTaken();
|
||||||
|
Loading…
Reference in New Issue
Block a user