move lockcomponent to shared (#13722)
* move lockcomponent to shared * ajcm review
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Content.Server.Lock;
|
||||
using Content.Server.Storage.Components;
|
||||
using Content.Shared.Lock;
|
||||
using Content.Shared.Security;
|
||||
using Robust.Server.GameObjects;
|
||||
|
||||
@@ -24,7 +23,7 @@ namespace Content.Server.Security.Systems
|
||||
ToggleBarrierDeploy(uid, component, lockComponent.Locked);
|
||||
}
|
||||
|
||||
private void OnLockToggled(EntityUid uid, DeployableBarrierComponent component, LockToggledEvent args)
|
||||
private void OnLockToggled(EntityUid uid, DeployableBarrierComponent component, ref LockToggledEvent args)
|
||||
{
|
||||
ToggleBarrierDeploy(uid, component, args.Locked);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user