Fixed "component doesn't have a GUIFrame" errors when selecting an artifact holder (or any other selectable item with non-selectable components)

This commit is contained in:
Regalis
2017-06-01 19:38:20 +03:00
parent 5455af24d7
commit ff322bd7a2

View File

@@ -1212,7 +1212,7 @@ namespace Barotrauma
foreach (ItemComponent ic in components)
{
ic.UpdateHUD(character);
if (ic.CanBeSelected) ic.UpdateHUD(character);
}
}