lots of niceguitab changes

This commit is contained in:
Shtoyan 2022-01-22 01:42:04 +04:00
commit 2b164b56df
4 changed files with 259 additions and 206 deletions

View file

@ -158,7 +158,12 @@ function SpawnTwoShots()
{
local vector X,Y,Z, FireStart;
local rotator FireRotation;
if( Controller!=none && KFDoorMover(Controller.Target)!=none )
// check this from the very start to prevent any log spam
if (Controller == none || IsInState('ZombieDying'))
return;
if (KFDoorMover(Controller.Target)!=none )
{
Controller.Target.TakeDamage(22,Self,Location,vect(0,0,0),Class'DamTypeVomit');
return;