pass lightning object to OnLightningStrike for kill tracing

install-platforms
Maikel de Vries 2017-07-09 18:34:30 +02:00
parent 906ccb6733
commit cc92a58388
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ protected func FxLightningMoveTimer(object target, effect fx, int time)
if (obj && !obj->~RejectLightningStrike(this, damage))
{
// Do a callback notifying the object that it has been struck by lightning.
obj->~OnLightningStrike(damage);
obj->~OnLightningStrike(this, damage);
if (!obj)
continue;
// Damage or hurt objects. Lightning strikes may have a controller, thus pass this for kill tracing.