Skip to content

Commit

Permalink
Fix that aeion energy upgrades are doubled
Browse files Browse the repository at this point in the history
  • Loading branch information
ThanatosGit committed Oct 15, 2023
1 parent ef65a32 commit 5f6c00a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions open_samus_returns_rando/files/randomizer_powerup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ function RandomizerPowerup.IncreaseItemAmount(item_id, quantity, capacity)

if item_id == "ITEM_CURRENT_SPECIAL_ENERGY" then
local specialEnergy = Game.GetPlayer().SPECIALENERGY
specialEnergy.fMaxEnergy = capacity + quantity
specialEnergy.fEnergy = capacity + quantity
specialEnergy.fMaxEnergy = capacity
specialEnergy.fEnergy = capacity
end
end

Expand Down

0 comments on commit 5f6c00a

Please sign in to comment.