Removed duplicate ATragMX_ prefix

This commit is contained in:
ulteq
2015-04-08 11:05:28 +02:00
parent 5dba9f7b3f
commit 15a594ccbc
33 changed files with 243 additions and 243 deletions

View File

@ -5,15 +5,15 @@ _index = lbCurSel 6000;
if (_index == -1) exitWith {};
for "_i" from 0 to (count GVAR(ATragMX_currentGun)) - 1 do {
if ((GVAR(ATragMX_currentGun) select _i) > _index) then {
GVAR(ATragMX_currentGun) set [_i, (GVAR(ATragMX_currentGun) select _i) - 1];
for "_i" from 0 to (count GVAR(currentGun)) - 1 do {
if ((GVAR(currentGun) select _i) > _index) then {
GVAR(currentGun) set [_i, (GVAR(currentGun) select _i) - 1];
};
};
GVAR(ATragMX_gunList) set [_index, 0];
GVAR(ATragMX_gunList) = GVAR(ATragMX_gunList) - [0];
GVAR(gunList) set [_index, 0];
GVAR(gunList) = GVAR(gunList) - [0];
lbDelete [6000, _index];
profileNamespace setVariable ["ACE_ATragMX_gunList", GVAR(ATragMX_gunList)];
profileNamespace setVariable ["ACE_ATragMX_gunList", GVAR(gunList)];