mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-15 03:31:30 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user