replace tent class

This commit is contained in:
[VB]AWOL
2013-08-27 15:42:55 -05:00
parent 28e2c62c22
commit 12cf4b7f43
2 changed files with 2 additions and 0 deletions

View File

@@ -207,6 +207,7 @@ if (isServer and isNil "sm_done") then {
_countr = 0;
{
if (_x == "BoltSteel") then { _x = "WoodenArrow" }; // Convert BoltSteel to WoodenArrow
if (_x == "ItemTent") then { _x = "ItemTentOld" };
_isOK = isClass(configFile >> "CfgMagazines" >> _x);
if (_isOK) then {
_block = getNumber(configFile >> "CfgMagazines" >> _x >> "stopThis") == 1;