remove a bunch of instances of component reference (#13164)
This commit is contained in:
@@ -120,7 +120,7 @@ namespace Content.Client.Inventory
|
||||
}
|
||||
|
||||
// snare-removal button. This is just the old button before the change to item slots. It is pretty out of place.
|
||||
if (_entMan.TryGetComponent(Owner.Owner, out SharedEnsnareableComponent? snare) && snare.IsEnsnared)
|
||||
if (_entMan.TryGetComponent(Owner.Owner, out EnsnareableComponent? snare) && snare.IsEnsnared)
|
||||
{
|
||||
var button = new Button()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user