Fix and improve bluespace lockers (#13139)
* add invulnerable plastitanium wall prototype * fix command ClearBluespaceLockerLinks.cs * fix and improve BluespaceLockerSystem.cs * fix normal plastitanium wall suffix * fix capitalization * fix capability to create one way lockers
This commit is contained in:
@@ -27,7 +27,7 @@ public sealed class ClearBluespaceLockerLinks : IConsoleCommand
|
||||
|
||||
var entityManager = IoCManager.Resolve<IEntityManager>();
|
||||
|
||||
if (entityManager.TryGetComponent<EntityStorageComponent>(entityUid, out var originComponent))
|
||||
if (entityManager.TryGetComponent<BluespaceLockerComponent>(entityUid, out var originComponent))
|
||||
entityManager.RemoveComponent(entityUid, originComponent);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user