Smol fix.
This commit is contained in:
parent
ba34665761
commit
b1f7cb3e86
2 changed files with 7 additions and 1 deletions
|
|
@ -1,2 +1,2 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r780 \cu(Fri 22 Jan 10:56:43 CET 2021)";
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r781 \cu(Fri 22 Jan 11:23:36 CET 2021)";
|
||||
|
|
|
|||
|
|
@ -889,6 +889,12 @@ Class CorrodeDebuff : Inventory
|
|||
Super.DoEffect();
|
||||
if ( (Amount <= 0) || !Owner )
|
||||
{
|
||||
if ( Owner && IsActorPlayingSound(CHAN_VOICE) )
|
||||
{
|
||||
// don't destroy yet, keep following owner until the sound wears off
|
||||
SetOrigin(Owner.Vec3Offset(0,0,Owner.height/2),false);
|
||||
return;
|
||||
}
|
||||
DepleteOrDestroy();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue