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:
@@ -1212,7 +1212,7 @@ namespace Barotrauma
|
|||||||
|
|
||||||
foreach (ItemComponent ic in components)
|
foreach (ItemComponent ic in components)
|
||||||
{
|
{
|
||||||
ic.UpdateHUD(character);
|
if (ic.CanBeSelected) ic.UpdateHUD(character);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user