Fixes ActivateItemInWorld working with things outside your container (#5424)
* Fixes InteractionActivate working inside containers * This makes more sense now that i think about it
This commit is contained in:
@@ -184,6 +184,9 @@ namespace Content.Server.Interaction
|
||||
if (!EntityManager.TryGetEntity(uid, out var used))
|
||||
return false;
|
||||
|
||||
if (user.IsInContainer())
|
||||
return false;
|
||||
|
||||
InteractionActivate(user, used);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user