From 0c856bdfc1034fdc295dcbf6fe655029fe5fa45f Mon Sep 17 00:00:00 2001 From: dyceron <38679103+dyceron@users.noreply.github.com> Date: Wed, 21 Feb 2024 07:09:55 -0500 Subject: [PATCH] Fix conditional --- src/open_samus_returns_rando/files/templates/custom_init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/open_samus_returns_rando/files/templates/custom_init.lua b/src/open_samus_returns_rando/files/templates/custom_init.lua index df6f15a..c2f9f04 100644 --- a/src/open_samus_returns_rando/files/templates/custom_init.lua +++ b/src/open_samus_returns_rando/files/templates/custom_init.lua @@ -24,7 +24,7 @@ function Init.InitGameBlackboard() Blackboard.SetProp("PLAYER_INVENTORY", "ITEM_ADN", "f", current_amount + 1) end if string.sub(_FORV_3_, 1, 17) == "ITEM_RESERVE_TANK" then - if (_FORV_3_ == "ITEM_RESERVE_TANK_MISSILE" and Blackboard.GetProp("PLAYER_INVENTORY", "ITEM_WEAPON_MISSILE_LAUNCHER")) or _FORV_3_ ~= "ITEM_RESERVE_TANK_MISSILE" then + if _FORV_3_ ~= "ITEM_RESERVE_TANK_MISSILE" or Blackboard.GetProp("PLAYER_INVENTORY", "ITEM_WEAPON_MISSILE_LAUNCHER") then Blackboard.SetProp("GAME", _FORV_3_ .. "_ACTIVE", "b", true) Blackboard.SetProp("GAME", _FORV_3_ .. "_FULL", "b", true) end