Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
0.88 (Small Fixes)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eathox committed Feb 16, 2018
1 parent e593150 commit a30fc62
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ switch _TvData do
{
if (tolower (_x select 2) isEqualto "tvloadout") then
{
[_CtrlTreeView, [_TargetTvParent, _x] select 0] call VANA_fnc_TvCreateLoadout;
[_CtrlTreeView, [_TargetTvParent, _x]] call VANA_fnc_TvCreateLoadout;
};
} foreach _TargetTvChildren;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ if (_VANAData isequalto []) exitwith

//Create loadouts that werent created
{
if !(_x in _LoadoutNames) then
{
[_CtrlTreeView, [], _x] call VANA_fnc_TvCreateLoadout;
};
} foreach (_LoadoutData select {_x isequaltype ""});
[_CtrlTreeView, [[], _x]] call VANA_fnc_TvCreateLoadout;
} foreach (_LoadoutData select {_x isequaltype "" && !(_x in _LoadoutNames)});

EndSegment(True)
2 changes: 2 additions & 0 deletions addons/vana_loadoutmanagement/Functions/fn_Arsenal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,8 @@ switch _mode do {

///////////////////////////////////////////////////////////////////////////////////////////
case "KeyDown": {
BIS_fnc_arsenal_type = uinamespace getvariable ["BIS_fnc_arsenal_type", 0]; //VANA

_display = _this select 0;
_key = _this select 1;
_shift = _this select 2;
Expand Down
12 changes: 6 additions & 6 deletions addons/vana_loadoutmanagement/Stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<Project Name="VANA">
<Package Name="Mod.ccp">
<Key ID="STR_VANA_Tooltip">
<Original>Vana - Loadout Management 0.87</Original>
<English>Vana - Loadout Management 0.87</English>
<Original>Vana - Loadout Management 0.88</Original>
<English>Vana - Loadout Management 0.88</English>
</Key>
<Key ID="STR_VANA_TooltipOwned">
<Original>Vana - Loadout Management 0.87</Original>
<English>Vana - Loadout Management 0.87</English>
<Original>Vana - Loadout Management 0.88</Original>
<English>Vana - Loadout Management 0.88</English>
</Key>
<Key ID="STR_VANA_OverviewText">
<Original>Vana - Loadout Management 0.87</Original>
<English>Vana - Loadout Management 0.87</English>
<Original>Vana - Loadout Management 0.88</Original>
<English>Vana - Loadout Management 0.88</English>
</Key>
<Key ID="STR_VANA_Overview">
<Original>Vana Purpose is to add extra loadout sorting options to the Virtual Arsenal.</Original>
Expand Down
4 changes: 2 additions & 2 deletions addons/vana_loadoutmanagement/UI/HPP/RscUIPopup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class VANA_UIPopupControlGroup: RscControlsGroupNoScrollbars
};
class VANA_ButtonCancel: RscButtonMenuCancel
{
onButtonClick="with uinamespace do {If !((ctrlparent (_this select 0)) getvariable ['Vana_Initialised', False]) then {(ctrlparent (_this select 0) displayctrl 979000) ctrlshow False;}}";
onButtonClick="Private _Display = ctrlparent (_this select 0); If !(_Display getvariable ['Vana_Initialised', false]) then {_Display displayctrl 979000 ctrlshow false;}";
idc=979005;
colorBackground[]={0,0,0,1.21};
x="0 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
Expand All @@ -73,7 +73,7 @@ class VANA_UIPopupControlGroup: RscControlsGroupNoScrollbars
};
class VANA_ButtonOK: RscButtonMenuOk
{
onButtonClick="with uinamespace do {If !((ctrlparent (_this select 0)) getvariable ['Vana_Initialised', False]) then {(ctrlparent (_this select 0) displayctrl 979000) ctrlshow False;}}";
onButtonClick="Private _Display = ctrlparent (_this select 0); If !(_Display getvariable ['Vana_Initialised', false]) then {_Display displayctrl 979000 ctrlshow false;}";
text=$STR_VANA_ButtonOK_Text;
idc=979007;
colorBackground[]={0,0,0,1.21};
Expand Down
2 changes: 1 addition & 1 deletion addons/vana_loadoutmanagement/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class CfgPatches
{
name = "Vana - Loadout Management";
author = "Eathox";
version = "0.87";
version = "0.88";
requiredVersion = 1.3;
units[] = {};
requiredAddons[] =
Expand Down

0 comments on commit a30fc62

Please sign in to comment.