mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-17 21:52:56 +03:00
0.69 + 1.7.5.M1D15
This commit is contained in:
@@ -63,7 +63,6 @@ if (_doLoiter) then {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
if (isNull _agent) exitWith {
|
||||
dayz_spawnZombies = dayz_spawnZombies - 1;
|
||||
};
|
||||
@@ -83,6 +82,7 @@ if (_rnd > 0.3) then {
|
||||
_array = []+ getArray (configFile >> "cfgLoot" >> getText(_lootType));
|
||||
if (count _array > 0) then {
|
||||
_loot = _array call BIS_fnc_selectRandomWeighted;
|
||||
//diag_log ("Zed Loot: " +(_loot));
|
||||
if(!isNil "_array") then {
|
||||
_agent addMagazine _loot;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user