Predicted internals (#33800)
* Predicted gas pumps I wanted to try out atmos and first thing I found. * a * Atmos device prediction - Canisters - Tanks - Internals AirMixes aren't predicted so nothing on that front but all the UIs should be a lot closer. * Remove details range * Gas tank prediction * Even more sweeping changes * Alerts * rehg * Popup fix * Fix merge conflicts * Fix * Review
This commit is contained in:
@@ -34,7 +34,11 @@ public sealed class ActivatableUIRequiresAnchorSystem : EntitySystem
|
||||
|
||||
if (!Transform(ent.Owner).Anchored)
|
||||
{
|
||||
_popup.PopupClient(Loc.GetString("comp-gas-pump-ui-needs-anchor"), args.User);
|
||||
if (ent.Comp.Popup != null)
|
||||
{
|
||||
_popup.PopupClient(Loc.GetString(ent.Comp.Popup), args.User);
|
||||
}
|
||||
|
||||
args.Cancel();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user