multiselect load ammo

This commit is contained in:
Tyfon
2024-07-02 02:09:00 -07:00
parent 89656fa468
commit 30ecbc333d
6 changed files with 132 additions and 12 deletions

View File

@@ -121,6 +121,14 @@ namespace UIFixes
____text.text += " (x" + count + ")";
}
}
else if (caption == EItemInfoButton.LoadAmmo.ToString())
{
int count = MultiSelect.InteractionCount(EItemInfoButton.LoadAmmo, ItemUiContext.Instance);
if (count > 0)
{
____text.text += " (x" + count + ")";
}
}
else if (caption == EItemInfoButton.UnloadAmmo.ToString())
{
int count = MultiSelect.InteractionCount(EItemInfoButton.UnloadAmmo, ItemUiContext.Instance);
@@ -136,7 +144,6 @@ namespace UIFixes
{
____text.text += " (x" + count + ")";
}
}
}
}