PopupSystem public methods rejig (#12830)

This commit is contained in:
Leon Friedrich
2022-12-19 10:41:47 +13:00
committed by GitHub
parent e459452333
commit 881a2b2ece
164 changed files with 721 additions and 631 deletions

View File

@@ -229,10 +229,7 @@ namespace Content.Server.Cargo.Systems
_uiSystem.GetUiOrNull(component.Owner, CargoConsoleUiKey.Orders)?.SetState(state);
}
private void ConsolePopup(ICommonSession session, string text)
{
_popup.PopupCursor(text, Filter.SinglePlayer(session));
}
private void ConsolePopup(ICommonSession session, string text) => _popup.PopupCursor(text, session);
private void PlayDenySound(EntityUid uid, CargoOrderConsoleComponent component)
{