mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
Fix wrong bloodbag types spawning
This commit is contained in:
@@ -32,7 +32,10 @@ if (!local (_this select 0)) exitWith
|
||||
|
||||
case Loot_MAGAZINE:
|
||||
{
|
||||
(_this select 0) addMagazine (_x select 1);
|
||||
private "_item";
|
||||
_item = _x select 1;
|
||||
if (dayz_classicBloodBagSystem && _item in dayz_typedBags) then {_item = "ItemBloodbag";};
|
||||
(_this select 0) addMagazine _item;
|
||||
};
|
||||
|
||||
case Loot_BACKPACK:
|
||||
@@ -43,6 +46,5 @@ if (!local (_this select 0)) exitWith
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
foreach Loot_Select(_this select 1, _this select 2);
|
||||
} count Loot_Select(_this select 1, _this select 2);
|
||||
//foreach ([_this select 1, _this select 2] call loot_select);
|
||||
Reference in New Issue
Block a user