From 601844443972b833fd760115ed70cd66eed6a40e Mon Sep 17 00:00:00 2001 From: Apricot <50947830+Apricot-ale@users.noreply.github.com> Date: Tue, 9 Jan 2024 10:53:25 +0900 Subject: [PATCH] Map Tools - Fix wrong Plotting Board strings targets (#9723) * Change wrong CSTRING target descriptionShort = CSTRING(Description); to descriptionShort = CSTRING(PlottingBoard_Description); * change action name to "ToMapToolLabel" displayName = CSTRING(Name); to displayName = CSTRING(ToMapToolLabel); --- addons/maptools/CfgVehicles.hpp | 6 +++--- addons/maptools/CfgWeapons.hpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/maptools/CfgVehicles.hpp b/addons/maptools/CfgVehicles.hpp index 10302a0c4f..3f59f23c6f 100644 --- a/addons/maptools/CfgVehicles.hpp +++ b/addons/maptools/CfgVehicles.hpp @@ -140,7 +140,7 @@ class CfgVehicles { showDisabled = 0; class ACE_PlottingBoardAlignBoardMaptool { - displayName = CSTRING(Name); + displayName = CSTRING(ToMapToolLabel); condition = QUOTE(GVAR(mapTool_Shown) > 0 && GVAR(plottingBoard_angle) != GVAR(mapTool_angle)); statement = QUOTE(GVAR(plottingBoard_angle) = GVAR(mapTool_angle)); EXCEPTIONS; @@ -162,7 +162,7 @@ class CfgVehicles { showDisabled = 0; class ACE_PlottingBoardAlignAcrylicMaptool { - displayName = CSTRING(Name); + displayName = CSTRING(ToMapToolLabel); condition = QUOTE(GVAR(mapTool_Shown) > 0 && GVAR(plottingBoard_acrylicAngle) != GVAR(mapTool_angle)); statement = QUOTE(GVAR(plottingBoard_acrylicAngle) = GVAR(mapTool_angle)); EXCEPTIONS; @@ -184,7 +184,7 @@ class CfgVehicles { showDisabled = 0; class ACE_PlottingBoardAlignRulerMaptool { - displayName = CSTRING(Name); + displayName = CSTRING(ToMapToolLabel); condition = QUOTE(GVAR(mapTool_Shown) > 0 && GVAR(plottingBoard_rulerAngle) != GVAR(mapTool_angle)); statement = QUOTE(GVAR(plottingBoard_rulerAngle) = GVAR(mapTool_angle)); EXCEPTIONS; diff --git a/addons/maptools/CfgWeapons.hpp b/addons/maptools/CfgWeapons.hpp index 9d2727612b..ca4d4a473e 100644 --- a/addons/maptools/CfgWeapons.hpp +++ b/addons/maptools/CfgWeapons.hpp @@ -18,7 +18,7 @@ class CfgWeapons { class ACE_PlottingBoard: ACE_ItemCore { displayName = CSTRING(PlottingBoard_Name); author = ECSTRING(common,ACETeam); - descriptionShort = CSTRING(Description); + descriptionShort = CSTRING(PlottingBoard_Description); model = QPATHTOF(data\ace_MapTools.p3d); picture = QPATHTOF(UI\plottingboard_item.paa); scope = 2;