Фиксы (#508)

* Fix cult blindfold

* Add stamina resistances

* Energy bolt is energy

* Laser shield is anti-laser

* Cult blindfold welding protection

* Eject id cards on deconstruct

* Wires panel power fix

* Add markings for species

* Ebow gaming
This commit is contained in:
Aviu00
2023-10-23 21:05:35 +09:00
committed by Aviu00
parent d636e6ca17
commit 13c6888eeb
4 changed files with 27 additions and 5 deletions

View File

@@ -24,8 +24,6 @@ internal sealed class ActivatableUIRequiresPowerSystem : EntitySystem
{
if (args.Cancelled) return;
if (this.IsPowered(uid, EntityManager)) return;
if (TryComp<WiresPanelComponent>(uid, out var panel) && panel.Open)
return;
_popup.PopupCursor(Loc.GetString("base-computer-ui-component-not-powered", ("machine", uid)), args.User);
args.Cancel();
}