This commit is contained in:
[VB]AWOL
2013-10-21 21:58:58 -05:00
parent d73e1b656c
commit e303e033b6
6 changed files with 26 additions and 14 deletions

View File

@@ -163,7 +163,7 @@ _missing = "";
_hasrequireditem = true;
{
_hastoolweapon = _x in weapons player;
if(!_hastoolweapon) exitWith { _hasrequireditem = false; _missing = _x; }
if(!_hastoolweapon) exitWith { _hasrequireditem = false; _missing = getText (configFile >> "cfgWeapons" >> _x >> "displayName"); }
} forEach _require;
_hasbuilditem = _this in magazines player;