From be53ca893dc16d98e11a074bdf8d0d735da05e21 Mon Sep 17 00:00:00 2001 From: chaorace Date: Sat, 29 Oct 2016 10:38:29 -0400 Subject: [PATCH] Disabled the cowboy interface options For those interested in still using the cowboy options, the internals are all there, the buttons in MinimapPanel.xml and the handlers in MinimapPanel.lua simply need to be restored to how they were before this commit and it all works the same --- UI/MinimapPanel.lua | 4 ++-- UI/MinimapPanel.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/UI/MinimapPanel.lua b/UI/MinimapPanel.lua index 5f8b5fe..4426225 100644 --- a/UI/MinimapPanel.lua +++ b/UI/MinimapPanel.lua @@ -735,8 +735,8 @@ function Initialize() Controls.QUI_ToggleLuxury:RegisterCallback( Mouse.eLClick, function() LuaEvents.QUI_Option_ToggleShowLuxury(); end); Controls.QUI_ToggleSmartBanner:RegisterCallback( Mouse.eLClick, function() LuaEvents.QUI_Option_ToggleSmartBanner(); end); - Controls.QUI_ToggleCowboy:RegisterCallback( Mouse.eLClick, function() LuaEvents.QUI_Option_ToggleCowboy(); end); - Controls.QUI_ToggleBadCowboy:RegisterCallback( Mouse.eLClick, function() LuaEvents.QUI_Option_ToggleBadCowboy(); end); + -- Controls.QUI_ToggleCowboy:RegisterCallback( Mouse.eLClick, function() LuaEvents.QUI_Option_ToggleCowboy(); end); + -- Controls.QUI_ToggleBadCowboy:RegisterCallback( Mouse.eLClick, function() LuaEvents.QUI_Option_ToggleBadCowboy(); end); -- Make sure the StrategicSwitcherButton has the correct image when the game starts in StrategicView if UI.GetWorldRenderView() == WorldRenderView.VIEW_2D then diff --git a/UI/MinimapPanel.xml b/UI/MinimapPanel.xml index b4bd03a..233f5d5 100644 --- a/UI/MinimapPanel.xml +++ b/UI/MinimapPanel.xml @@ -28,8 +28,8 @@ - - +