Replace DoorVisuals.Powered with PowerDeviceVisuals.Powered (#34646)

This commit is contained in:
ShadowCommander
2025-02-10 18:54:35 -08:00
committed by GitHub
parent 0cfcbdeccd
commit 976172b85e
4 changed files with 3 additions and 18 deletions

View File

@@ -37,8 +37,6 @@ namespace Content.Server.Doors.Systems
private void PowerChanged(EntityUid uid, FirelockComponent component, ref PowerChangedEvent args)
{
// TODO this should REALLLLY not be door specific appearance thing.
_appearance.SetData(uid, DoorVisuals.Powered, args.Powered);
component.Powered = args.Powered;
Dirty(uid, component);
}