From 5f6c00aac2218e4037336986250788fb252f1c02 Mon Sep 17 00:00:00 2001 From: Thanatos Date: Sun, 15 Oct 2023 10:28:46 +0200 Subject: [PATCH] Fix that aeion energy upgrades are doubled --- open_samus_returns_rando/files/randomizer_powerup.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/open_samus_returns_rando/files/randomizer_powerup.lua b/open_samus_returns_rando/files/randomizer_powerup.lua index 9b7a03b..d484f3f 100644 --- a/open_samus_returns_rando/files/randomizer_powerup.lua +++ b/open_samus_returns_rando/files/randomizer_powerup.lua @@ -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