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

@@ -99,7 +99,7 @@ public sealed class RadioDeviceSystem : EntitySystem
{
var state = Loc.GetString(component.Enabled ? "handheld-radio-component-on-state" : "handheld-radio-component-off-state");
var message = Loc.GetString("handheld-radio-component-on-use", ("radioState", state));
_popup.PopupEntity(message, user, Filter.Entities(user));
_popup.PopupEntity(message, user, user);
}
if (component.Enabled)
@@ -134,7 +134,7 @@ public sealed class RadioDeviceSystem : EntitySystem
{
component.BroadcastChannel = channel;
_popup.PopupEntity(Loc.GetString("handheld-radio-component-channel-set",
("channel", channel)), uid, Filter.Entities(args.User));
("channel", channel)), uid, args.User);
}
};
args.Verbs.Add(v);
@@ -168,7 +168,7 @@ public sealed class RadioDeviceSystem : EntitySystem
{
var state = Loc.GetString(component.Enabled ? "handheld-radio-component-on-state" : "handheld-radio-component-off-state");
var message = Loc.GetString("handheld-radio-component-on-use", ("radioState", state));
_popup.PopupEntity(message, user, Filter.Entities(user));
_popup.PopupEntity(message, user, user);
}
if (component.Enabled)