From b55be19d7a8ada16132ec5c8dae488261ce7bcc1 Mon Sep 17 00:00:00 2001 From: Sir-Skurpsalot <87043120+Sir-Skurpsalot@users.noreply.github.com> Date: Tue, 9 Dec 2025 18:25:18 -0700 Subject: [PATCH] Update utility.tscript Fixed so remappable actions bound to the control key show the proper bitmap in the menu. --- Templates/BaseGame/game/data/UI/scripts/utility.tscript | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Templates/BaseGame/game/data/UI/scripts/utility.tscript b/Templates/BaseGame/game/data/UI/scripts/utility.tscript index e750d4290..86ca46604 100644 --- a/Templates/BaseGame/game/data/UI/scripts/utility.tscript +++ b/Templates/BaseGame/game/data/UI/scripts/utility.tscript @@ -115,7 +115,10 @@ function getButtonBitmap(%device, %button) { if(%button $= "lshift" || %button $= "rshift") %button = "shift"; - + + if(%button $= "lcontrol" || %button $= "rcontrol") + %button = "ctrl"; + %assetId = "UI:Keyboard_Black_" @ %button @ "_image"; } else if(%device !$= "") @@ -192,4 +195,4 @@ function switchLanguage(%language) //use here the #n as it's the order of inclus // swap existing language from the current core langtable and refresh the gui contents getCoreLangTable().setCurrentLanguage(%language); Canvas.setContent(Canvas.getContent()); -} \ No newline at end of file +}