Skip to content

Commit

Permalink
Simplify aeion conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Jul 10, 2024
1 parent dab2ead commit 1bde7ab
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,8 @@ function RandomizerPowerup.ActivateSpecialEnergy(name)
end

-- Aeion abilities
if string.sub(name, 0, 17) == "LE_SpecialAbility" then
if Game.GetEntity(name) ~= nil then
SpecialEnergyCloud.ActivateSpecialEnergy(cloud)
end
if string.sub(name, 0, 17) == "LE_SpecialAbility" and Game.GetEntity(name) ~= nil then
SpecialEnergyCloud.ActivateSpecialEnergy(cloud)
end
end

Expand Down

0 comments on commit 1bde7ab

Please sign in to comment.