PopupSystem public methods rejig (#12830)
This commit is contained in:
@@ -79,7 +79,7 @@ public sealed class StickySystem : EntitySystem
|
||||
if (component.StickPopupStart != null)
|
||||
{
|
||||
var msg = Loc.GetString(component.StickPopupStart);
|
||||
_popupSystem.PopupEntity(msg, user, Filter.Entities(user));
|
||||
_popupSystem.PopupEntity(msg, user, user);
|
||||
}
|
||||
|
||||
// start sticking object to target
|
||||
@@ -122,7 +122,7 @@ public sealed class StickySystem : EntitySystem
|
||||
if (component.UnstickPopupStart != null)
|
||||
{
|
||||
var msg = Loc.GetString(component.UnstickPopupStart);
|
||||
_popupSystem.PopupEntity(msg, user, Filter.Entities(user));
|
||||
_popupSystem.PopupEntity(msg, user, user);
|
||||
}
|
||||
|
||||
// start unsticking object
|
||||
@@ -166,7 +166,7 @@ public sealed class StickySystem : EntitySystem
|
||||
if (component.StickPopupSuccess != null)
|
||||
{
|
||||
var msg = Loc.GetString(component.StickPopupSuccess);
|
||||
_popupSystem.PopupEntity(msg, user, Filter.Entities(user));
|
||||
_popupSystem.PopupEntity(msg, user, user);
|
||||
}
|
||||
|
||||
// send information to appearance that entity is stuck
|
||||
@@ -207,7 +207,7 @@ public sealed class StickySystem : EntitySystem
|
||||
if (component.UnstickPopupSuccess != null)
|
||||
{
|
||||
var msg = Loc.GetString(component.UnstickPopupSuccess);
|
||||
_popupSystem.PopupEntity(msg, user, Filter.Entities(user));
|
||||
_popupSystem.PopupEntity(msg, user, user);
|
||||
}
|
||||
|
||||
component.StuckTo = null;
|
||||
|
||||
Reference in New Issue
Block a user