diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-10-21 15:44:45 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-10-21 15:44:45 +0200 |
| commit | ecba3f08e90cc448a17a69d5befed883aa5a0770 (patch) | |
| tree | 724feb909728b73561745b277ee6f8204f215c51 | |
| parent | 6597883892a23a54e9210d8289d19b2b0f955101 (diff) | |
| download | shrinker-release/2.19.0.tar.gz shrinker-release/2.19.0.zip | |
fix heals givenrelease/2.19.0
| -rw-r--r-- | worker.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -294,9 +294,9 @@ amqp.connect(RABBITMQ_URI).then(async (rabbit) => { if (t.type == "HealTarget" && t.payload.IsHero == 1 && t.payload.Source != "Buff_SpawnStage_Recharge") // TODO LOL what? - t.target = participants.filter((p) => - p.actor == t.payload.TargetActor - && p.team == t.payload.TargetTeam)[0]; + t.actor = participants.filter((p) => + p.actor == t.payload.Actor + && p.team == t.payload.Team)[0]; // heal target (since 2.9) if (t.type == "HealTarget" && t.payload.TargetIsHero == 1 |
