mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
vectorAdd fix take 2
This commit is contained in:
@@ -24,7 +24,7 @@ if ((count _p1) != (count _p2)) then {textLogFormat ["BIS_FNC Error: vectors not
|
|||||||
_return = [];
|
_return = [];
|
||||||
_i = 0;
|
_i = 0;
|
||||||
{
|
{
|
||||||
if(count(_p2) <= _i) then {
|
if(_i <= (count(_p2) - 1)) then {
|
||||||
_return = _return + [_x + (_p2 select _i)];
|
_return = _return + [_x + (_p2 select _i)];
|
||||||
} else {
|
} else {
|
||||||
_return = _return + [_x];
|
_return = _return + [_x];
|
||||||
|
|||||||
Reference in New Issue
Block a user