Anchorable shared (#17422)
Co-authored-by: BenOwnby <ownbyb@appstate.edu> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com> Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -16,7 +16,7 @@ public sealed class NoUnstackableInTile : IConstructionCondition
|
||||
public bool Condition(EntityUid user, EntityCoordinates location, Direction direction)
|
||||
{
|
||||
var sysMan = IoCManager.Resolve<IEntitySystemManager>();
|
||||
var anchorable = sysMan.GetEntitySystem<SharedAnchorableSystem>();
|
||||
var anchorable = sysMan.GetEntitySystem<AnchorableSystem>();
|
||||
|
||||
return !anchorable.AnyUnstackablesAnchoredAt(location);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user