Replace DoorVisuals.Powered with PowerDeviceVisuals.Powered (#34646)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user