mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
disconnect save first 20 mags minus melee ammo
This commit is contained in:
@@ -55,9 +55,10 @@ array_reduceSizeReverse = {
|
||||
};
|
||||
|
||||
array_reduceSize = {
|
||||
private["_array","_count","_num","_newarray","_startnum","_index"];
|
||||
_array = _this select 0;
|
||||
diag_log format ["array_reduceSize IN: %1", _array];
|
||||
private["_array1","_array","_count","_num","_newarray","_startnum","_index"];
|
||||
_array1 = _this select 0;
|
||||
_array = _array1 - ["Hatchet_Swing","Machete_Swing","Fishing_Swing","sledge_swing","crowbar_swing"];
|
||||
//diag_log format ["array_reduceSize IN: %1", _array];
|
||||
_newarray = [];
|
||||
_count = _this select 1;
|
||||
_num = count _array;
|
||||
@@ -69,7 +70,7 @@ array_reduceSize = {
|
||||
};
|
||||
_array = _newarray;
|
||||
};
|
||||
diag_log format ["array_reduceSize OUT: %1", _array];
|
||||
//diag_log format ["array_reduceSize OUT: %1", _array];
|
||||
_array
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user