Add SetEntity(Owner) so can view APC sprite in UI (Bug fix) (#31962)

* Add SetEntity(Owner)  so can view APC sprite in UI

* bump apc version flavor text

---------

Co-authored-by: TIMMY <timmytriggers@cock.li>
This commit is contained in:
James Simonson
2024-09-09 05:58:58 +08:00
committed by GitHub
parent f2615f0933
commit ca1bfbf981
2 changed files with 2 additions and 2 deletions

View File

@@ -19,8 +19,8 @@ namespace Content.Client.Power.APC
protected override void Open()
{
base.Open();
_menu = this.CreateWindow<ApcMenu>();
_menu.SetEntity(Owner);
_menu.OnBreaker += BreakerPressed;
}

View File

@@ -14,4 +14,4 @@ apc-menu-power-state-none = None
# For the flavor text on the footer
apc-menu-flavor-left = Contact an engineer for assistance.
apc-menu-flavor-right = v1.1
apc-menu-flavor-right = v1.2