ActionBlocker CanInteract uses EntityUid exclusively
ActionBlockerSystem fully uses EntityUid now!
This commit is contained in:
@@ -75,7 +75,7 @@ namespace Content.Server.Medical
|
||||
|
||||
private void OnRelayMovement(EntityUid uid, MedicalScannerComponent component, RelayMovementEntityEvent args)
|
||||
{
|
||||
if (_blocker.CanInteract(args.Entity))
|
||||
if (_blocker.CanInteract(args.Entity.Uid))
|
||||
{
|
||||
if (_gameTiming.CurTime <
|
||||
component.LastInternalOpenAttempt + MedicalScannerComponent.InternalOpenAttemptDelay)
|
||||
|
||||
Reference in New Issue
Block a user