News UI overhaul and PDA notifications (#19610)
This commit is contained in:
@@ -63,13 +63,16 @@ namespace Content.Server.PDA.Ringer
|
||||
UpdateRingerUserInterface(uid, ringer, true);
|
||||
}
|
||||
|
||||
public void RingerPlayRingtone(EntityUid uid, RingerComponent ringer)
|
||||
public void RingerPlayRingtone(Entity<RingerComponent?> ent)
|
||||
{
|
||||
EnsureComp<ActiveRingerComponent>(uid);
|
||||
if (!Resolve(ent, ref ent.Comp))
|
||||
return;
|
||||
|
||||
_popupSystem.PopupEntity(Loc.GetString("comp-ringer-vibration-popup"), uid, Filter.Pvs(uid, 0.05f), false, PopupType.Small);
|
||||
EnsureComp<ActiveRingerComponent>(ent);
|
||||
|
||||
UpdateRingerUserInterface(uid, ringer, true);
|
||||
_popupSystem.PopupEntity(Loc.GetString("comp-ringer-vibration-popup"), ent, Filter.Pvs(ent, 0.05f), false, PopupType.Medium);
|
||||
|
||||
UpdateRingerUserInterface(ent, ent.Comp, true);
|
||||
}
|
||||
|
||||
private void UpdateRingerUserInterfaceDriver(EntityUid uid, RingerComponent ringer, RingerRequestUpdateInterfaceMessage args)
|
||||
|
||||
Reference in New Issue
Block a user