@@ -117,7 +117,7 @@ public sealed class ContainmentFieldGeneratorSystem : EntitySystem
|
|||||||
private void OnUnanchorAttempt(EntityUid uid, ContainmentFieldGeneratorComponent component,
|
private void OnUnanchorAttempt(EntityUid uid, ContainmentFieldGeneratorComponent component,
|
||||||
UnanchorAttemptEvent args)
|
UnanchorAttemptEvent args)
|
||||||
{
|
{
|
||||||
if (component.Enabled)
|
if (component.Enabled || component.IsConnected)
|
||||||
{
|
{
|
||||||
_popupSystem.PopupEntity(Loc.GetString("comp-containment-anchor-warning"), args.User, args.User, PopupType.LargeCaution);
|
_popupSystem.PopupEntity(Loc.GetString("comp-containment-anchor-warning"), args.User, args.User, PopupType.LargeCaution);
|
||||||
args.Cancel();
|
args.Cancel();
|
||||||
|
|||||||
Reference in New Issue
Block a user