ActionBlocker CanInteract uses EntityUid exclusively
ActionBlockerSystem fully uses EntityUid now!
This commit is contained in:
@@ -57,7 +57,7 @@ namespace Content.Server.Body.Surgery.Components
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!_actionBlockerSystem.CanInteract(tool.PerformerCache) ||
|
||||
if (!_actionBlockerSystem.CanInteract(tool.PerformerCache.Uid) ||
|
||||
!tool.PerformerCache.InRangeUnobstructed(tool.BodyCache))
|
||||
{
|
||||
tool.CloseAllSurgeryUIs();
|
||||
|
||||
Reference in New Issue
Block a user