MeanZombieBloat touch Accessed none fix

This commit is contained in:
Shtoyan 2022-01-20 21:37:47 +04:00
parent eda5d44fac
commit 410515b99d

View File

@ -23,12 +23,19 @@ simulated function Tick(float DeltaTime) {
}
}
}
function Touch(Actor Other) {
function Touch(Actor Other)
{
if (Other == none)
return;
super.Touch(Other);
if (Other.IsA('ShotgunBullet')) {
if (Other.IsA('ShotgunBullet'))
{
ShotgunBullet(Other).Damage = 0;
}
}
function RangedAttack(Actor A) {
local int LastFireTime;
if ( bShotAnim )