From d3ec3f442b9c03606eda02c2619a1d22bcd17fae Mon Sep 17 00:00:00 2001 From: Marcel de Vries Date: Mon, 4 Jul 2016 00:44:25 +0200 Subject: [PATCH] Rename _cfg to something a bit more descriptive --- addons/sup_combatsupport/fnc_unpackMortar.sqf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/sup_combatsupport/fnc_unpackMortar.sqf b/addons/sup_combatsupport/fnc_unpackMortar.sqf index 5c5812b1d..fa67ca5cc 100644 --- a/addons/sup_combatsupport/fnc_unpackMortar.sqf +++ b/addons/sup_combatsupport/fnc_unpackMortar.sqf @@ -36,12 +36,12 @@ private _backpacks = []; private _backpack = unitBackpack _x; if (!isNull _backpack) then { - private _cfg = (configFile >> "CfgVehicles" >> typeOf _backpack >> "assembleInfo" >> "assembleTo"); - private _assembleToValue = _cfg call BIS_fnc_getCfgData; + private _assembleToCfg = (configFile >> "CfgVehicles" >> typeOf _backpack >> "assembleInfo" >> "assembleTo"); + private _assembleToValue = _assembleToCfg call BIS_fnc_getCfgData; if (!isNil "_assembleToValue" && {count _assembleToValue > 0}) then { - private _cfg = (configFile >> "CfgVehicles" >> _assembleToValue >> "assembleInfo" >> "dissasembleTo"); - private _disassembleToValue = _cfg call BIS_fnc_getCfgData; + private _disassembleToCfg = (configFile >> "CfgVehicles" >> _assembleToValue >> "assembleInfo" >> "dissasembleTo"); + private _disassembleToValue = _disassembleToCfg call BIS_fnc_getCfgData; if (!isNil "_disassembleToValue" && {count _disassembleToValue > 0}) then { _disassembleTo = _disassembleToValue;