From: James Simonson Date: Sun, 8 Sep 2024 21:58:58 +0000 (+0800) Subject: Add SetEntity(Owner) so can view APC sprite in UI (Bug fix) (#31962) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=ca1bfbf9813b69054dccc3993bcdd4603a557acc;p=space-station-14.git 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 --- diff --git a/Content.Client/Power/APC/ApcBoundUserInterface.cs b/Content.Client/Power/APC/ApcBoundUserInterface.cs index 759a5949ba..a790c5d984 100644 --- a/Content.Client/Power/APC/ApcBoundUserInterface.cs +++ b/Content.Client/Power/APC/ApcBoundUserInterface.cs @@ -19,8 +19,8 @@ namespace Content.Client.Power.APC protected override void Open() { base.Open(); - _menu = this.CreateWindow(); + _menu.SetEntity(Owner); _menu.OnBreaker += BreakerPressed; } diff --git a/Resources/Locale/en-US/ui/power-apc.ftl b/Resources/Locale/en-US/ui/power-apc.ftl index ed88644994..25ae32ab97 100644 --- a/Resources/Locale/en-US/ui/power-apc.ftl +++ b/Resources/Locale/en-US/ui/power-apc.ftl @@ -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