Skip to content
Snippets Groups Projects
Commit 9d7b19d7 authored by Tawny Harte's avatar Tawny Harte
Browse files

sunburst doesn't remove from tgts 2x each beam

parent eb0ce896
No related branches found
No related tags found
1 merge request!5601.6b4 typos n misc
......@@ -219,7 +219,6 @@ newTalent{
if #tgts <= 0 then break end
local a, id = rng.table(tgts)
table.remove(tgts, id)
table.remove(tgts)
self:project({type="beam", friendlyfire=false, selffire=false, talent=t, self.x, self.y}, a.x, a.y, DamageType.LIGHT, dam)
game.level.map:particleEmitter(self.x, self.y, math.max(math.abs(a.x-self.x), math.abs(a.y-self.y)), "light_beam", {tx=a.x-self.x, ty=a.y-self.y})
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment