Add PopupPredictedCursor and fix doubled popups on vending machines (#36655)

* Add PopupCursorPredicted method

* Fix doubled popups on vending machine restock failures

* Rename to match existing pattern
This commit is contained in:
Tayrtahn
2025-04-18 00:01:46 -04:00
committed by GitHub
parent 725522c183
commit e00e2ba407
4 changed files with 35 additions and 3 deletions

View File

@@ -173,6 +173,16 @@ namespace Content.Client.Popups
PopupCursor(message, type);
}
public override void PopupPredictedCursor(string? message, ICommonSession recipient, PopupType type = PopupType.Small)
{
PopupCursor(message, recipient, type);
}
public override void PopupPredictedCursor(string? message, EntityUid recipient, PopupType type = PopupType.Small)
{
PopupCursor(message, recipient, type);
}
public override void PopupCoordinates(string? message, EntityCoordinates coordinates, Filter filter, bool replayRecord, PopupType type = PopupType.Small)
{
PopupCoordinates(message, coordinates, type);