Cleanup unnecessary statement

This commit is contained in:
PabstMirror 2015-10-17 14:30:59 -05:00
parent 6ffde8150f
commit da2d140a39

View File

@ -30,7 +30,6 @@ _flashlights = [_player] call FUNC(getUnitFlashlights);
_cfg = (configFile >> "CfgWeapons" >> _x);
_displayName = getText (_cfg >> "displayName");
_icon = getText (_cfg >> "picture");
_statement = {};
_statement = if (GVAR(flashlightInUse) == _x) then {
_displayName = format [localize LSTRING(turnLightOff), _displayName];