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:
Ben
2023-06-29 08:35:54 -04:00
committed by GitHub
parent 67df47f553
commit c858c76341
21 changed files with 363 additions and 385 deletions

View File

@@ -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);
}