Explorar el Código

Update utility.tscript

ctrl key bitmap shows in keybinds menu now
Sir-Skurpsalot hace 1 mes
padre
commit
083fe1e70f
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      Templates/BaseGame/game/data/UI/scripts/utility.tscript

+ 1 - 2
Templates/BaseGame/game/data/UI/scripts/utility.tscript

@@ -115,8 +115,7 @@ function getButtonBitmap(%device, %button)
    {
    {
       if(%button $= "lshift" || %button $= "rshift")
       if(%button $= "lshift" || %button $= "rshift")
          %button = "shift";
          %button = "shift";
-
-      if(%button $= "lcontrol" || %button $= "rcontrol")
+      else if(%button $= "lcontrol" || %button $= "rcontrol")
          %button = "ctrl";
          %button = "ctrl";
 
 
       %assetId = "UI:Keyboard_Black_" @ %button @ "_image";
       %assetId = "UI:Keyboard_Black_" @ %button @ "_image";