PopupSystem public methods rejig (#12830)
This commit is contained in:
@@ -272,7 +272,7 @@ public sealed class ArtifactAnalyzerSystem : EntitySystem
|
||||
if (msg == null)
|
||||
return;
|
||||
|
||||
_popup.PopupEntity(Loc.GetString("analysis-console-print-popup"), uid, Filter.Pvs(uid));
|
||||
_popup.PopupEntity(Loc.GetString("analysis-console-print-popup"), uid);
|
||||
_paper.SetContent(report, msg.ToMarkup());
|
||||
UpdateUserInterface(uid, component);
|
||||
}
|
||||
@@ -351,7 +351,7 @@ public sealed class ArtifactAnalyzerSystem : EntitySystem
|
||||
_audio.PlayPvs(component.DestroySound, component.AnalyzerEntity.Value, AudioParams.Default.WithVolume(2f));
|
||||
|
||||
_popup.PopupEntity(Loc.GetString("analyzer-artifact-destroy-popup"),
|
||||
component.AnalyzerEntity.Value, Filter.Pvs(component.AnalyzerEntity.Value), PopupType.Large);
|
||||
component.AnalyzerEntity.Value, PopupType.Large);
|
||||
|
||||
UpdateUserInterface(uid, component);
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ public sealed class TraversalDistorterSystem : EntitySystem
|
||||
toPopup = Loc.GetString("traversal-distorter-set-out");
|
||||
break;
|
||||
}
|
||||
_popup.PopupEntity(toPopup, uid, Filter.Pvs(uid));
|
||||
_popup.PopupEntity(toPopup, uid);
|
||||
}
|
||||
|
||||
private void OnExamine(EntityUid uid, TraversalDistorterComponent component, ExaminedEvent args)
|
||||
|
||||
Reference in New Issue
Block a user