move lockcomponent to shared (#13722)

* move lockcomponent to shared

* ajcm review
This commit is contained in:
Nemanja
2023-02-11 20:12:29 -05:00
committed by GitHub
parent 301956ef15
commit c6c319f7e4
23 changed files with 381 additions and 332 deletions

View File

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