changed variable name to use QGVAR macro

This commit is contained in:
Kavinsky 2015-04-30 23:18:45 +02:00
parent b9c1936efc
commit f301491c7a

View File

@ -26,7 +26,7 @@ _isIR = _isIR == 1;
};
if (_laser != "") then {
_cacheName = format ["ACE_laserpointer_%1", _laser];
_cacheName = format [QGVAR(laser_%1), _laser];
_laserID = missionNamespace getVariable [_cacheName, -1];
if (missionNamespace getVariable [_cacheName, -1] == -1) then {
_laserID = getNumber (configFile >> "CfgWeapons" >> _laser >> "ACE_laserpointer");