Predict doors and airlocks (#25419)
* predict doors and airlocks * prying, too * ack * eek
This commit is contained in:
@@ -76,6 +76,13 @@ public abstract class SharedWiresSystem : EntitySystem
|
||||
}
|
||||
}
|
||||
|
||||
public void ChangePanelVisibility(EntityUid uid, WiresPanelComponent component, bool visible)
|
||||
{
|
||||
component.Visible = visible;
|
||||
UpdateAppearance(uid, component);
|
||||
Dirty(uid, component);
|
||||
}
|
||||
|
||||
protected void UpdateAppearance(EntityUid uid, WiresPanelComponent panel)
|
||||
{
|
||||
if (TryComp<AppearanceComponent>(uid, out var appearance))
|
||||
|
||||
Reference in New Issue
Block a user