Fix put-tools-back bug breaking stuff; deselect on unpack

This commit is contained in:
Tyfon
2024-07-02 18:40:04 -07:00
parent 212c19b658
commit c1e497d482
4 changed files with 21 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ namespace UIFixes
}
[PatchPrefix]
public static void Prefix(MagazineClass magazine)
public static void Prefix()
{
if (MultiSelect.Active)
{
@@ -57,7 +57,7 @@ namespace UIFixes
}
[PatchPrefix]
public static void Prefix(ref ItemFilter[] filters, Item item)
public static void Prefix(ref ItemFilter[] filters)
{
if (CombinedFilters == null)
{
@@ -96,7 +96,7 @@ namespace UIFixes
}
[PatchPrefix]
public static void Prefix(MagazineClass magazine)
public static void Prefix()
{
if (MultiSelect.Active)
{