ECS airlocks (#13500)
This commit is contained in:
@@ -23,6 +23,7 @@ using Content.Shared.Construction.Components;
|
||||
using Content.Shared.Containers.ItemSlots;
|
||||
using Content.Shared.Damage;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.Doors.Components;
|
||||
using Content.Shared.Inventory;
|
||||
using Content.Shared.PDA;
|
||||
using Content.Shared.Stacks;
|
||||
@@ -72,7 +73,7 @@ public sealed partial class AdminVerbSystem
|
||||
: "/Textures/Interface/AdminActions/bolt.png",
|
||||
Act = () =>
|
||||
{
|
||||
airlock.SetBoltsWithAudio(!airlock.BoltsDown);
|
||||
_airlockSystem.SetBoltsWithAudio(args.Target, airlock, !airlock.BoltsDown);
|
||||
},
|
||||
Impact = LogImpact.Medium,
|
||||
Message = Loc.GetString(airlock.BoltsDown
|
||||
@@ -90,7 +91,7 @@ public sealed partial class AdminVerbSystem
|
||||
IconTexture = "/Textures/Interface/AdminActions/emergency_access.png",
|
||||
Act = () =>
|
||||
{
|
||||
_airlockSystem.ToggleEmergencyAccess(airlock);
|
||||
_airlockSystem.ToggleEmergencyAccess(args.Target, airlock);
|
||||
},
|
||||
Impact = LogImpact.Medium,
|
||||
Message = Loc.GetString(airlock.EmergencyAccess
|
||||
|
||||
Reference in New Issue
Block a user