Added Kill-Z Volume
This commit is contained in:
parent
2a5c6cb50a
commit
3da023c406
Binary file not shown.
|
@ -542,6 +542,11 @@ void ABlasterCharacter::ReceiveDamage(AActor* DamagedActor, float Damage, const
|
|||
|
||||
if (Health == 0.f)
|
||||
{
|
||||
if (DamageType->bCausedByWorld)
|
||||
{
|
||||
Eliminated(false);
|
||||
return;
|
||||
}
|
||||
ABlasterGameMode* BlasterGameMode = GetWorld()->GetAuthGameMode<ABlasterGameMode>();
|
||||
if (BlasterGameMode)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue