Permalink
Browse files

fixed hotkeys showing when the hotkey widget is off

  • Loading branch information...
CommonPlayer committed Nov 6, 2018
1 parent 644b85a commit 98bf910e8e71b6b5afbb174c3c2fd30a293ce992
Showing with 1 addition and 1 deletion.
  1. +1 −1 LuaUI/Widgets_Evo/gui_chili_buildordermenu.lua
@@ -527,7 +527,7 @@ local function addBuildCommand(cmd)
chiliCache['costLabel' .. cmd.id]:SetCaption(str)
end
if showHotkeys then
if showHotkeys and widgetHandler.orderList["EvoRTS Build Hotkeys"] and widgetHandler.orderList["EvoRTS Build Hotkeys"] ~= 0 then
if nameToKeySymbols[cmd.name] then
if not chiliCache['hotkeyLabel' .. cmd.id] then
chiliCache['hotkeyLabel' .. cmd.id] = Label:New{

0 comments on commit 98bf910

Please sign in to comment.