Just to make sure.

This commit is contained in:
Mari the Deer 2022-03-28 22:34:01 +02:00
commit e4a89a3365
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
[default]
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.2 r1 \cu(Mon 28 Mar 22:31:32 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.2.2 r1 \cu(2022-03-28 22:31:32)\c-";
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2.2 r2 \cu(Mon 28 Mar 22:34:01 CEST 2022)\c-";
SWWM_SHORTVER="\cw1.2.2 r2 \cu(2022-03-28 22:34:01)\c-";

View file

@ -454,7 +454,7 @@ Class YnykronImpact : Actor
let r = Spawn("AshenRemains",tracer.pos);
r.scale *= tracer.radius/16.;
}
if ( (tracer.bIsMonster || tracer.player) && tracer.IsHostile(target) && YnykronShot(master) )
if ( (tracer.bIsMonster || tracer.player) && (!target || tracer.IsHostile(target)) && YnykronShot(master) )
YnykronShot(master).enemykills++;
if ( target && tracer.FindInventory("EndgameBossMarker") )
SWWMUtility.MarkAchievement("ligma",target.player);