Skip to content

Commit

Permalink
I don't know what the hell is going on with UnitDestroyed callin, but…
Browse files Browse the repository at this point in the history
… maybe this will help
  • Loading branch information
Damgam committed May 17, 2024
1 parent e7653c5 commit 87d5341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luarules/gadgets/pve_areahealers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ function gadget:UnitCreated(unitID, unitDefID, unitTeam)
end

function gadget:UnitDestroyed(unitID, unitDefID, unitTeam, attackerID)
if aliveHealers[unitID] then
--if aliveHealers[unitID] then
aliveHealers[unitID] = nil
end
--end
end

function gadget:GameFrame(frame)
Expand Down

0 comments on commit 87d5341

Please sign in to comment.