Skip to content

Commit

Permalink
Fix bug with store selection; correctly identifying now.
Browse files Browse the repository at this point in the history
  • Loading branch information
IceRaptor committed Jan 20, 2021
1 parent 8221d97 commit 41126d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IRTweaks/IRTweaks/Modules/UI/MechBayChanges.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static void Postfix(MechLabPanel __instance)
buttonText.SetText("VALIDATE");

// Disable the store button
Transform storeButtonT = __instance.gameObject.transform.Find("Representation/OBJ_storeButton");
Transform storeButtonT = __instance.gameObject.transform.Find("Representation/OBJGROUP_LEFT/OBJ_inventoryLong/OBJ_storeButton");
if (storeButtonT == null) Mod.Log.Error?.Write("Failed to find OBJ_storeButton!");
storeButtonT.gameObject.SetActive(false);
}
Expand Down

0 comments on commit 41126d3

Please sign in to comment.