diff --git a/SQF/dayz_code/actions/plotManagement/plotAddFriend.sqf b/SQF/dayz_code/actions/plotManagement/plotAddFriend.sqf index a964de5ea..248d731b3 100644 --- a/SQF/dayz_code/actions/plotManagement/plotAddFriend.sqf +++ b/SQF/dayz_code/actions/plotManagement/plotAddFriend.sqf @@ -9,7 +9,7 @@ _inList = false; { if ((_x select 0) == (_toAdd select 0)) exitWith { _inList = true; }; } count _friends; if (_inList) exitWith {localize "STR_EPOCH_PLOTMANAGEMENT_ADDFRIEND_ALREADYONTHELIST" call dayz_rollingMessages}; if ((count _friends) == DZE_MaxPlotFriends) exitWith { format[localize "STR_EPOCH_PLOTMANAGEMENT_ADDFRIEND_FRIENDLIMIT", DZE_MaxPlotFriends] call dayz_rollingMessages;}; -_friends set [(count _friends), [_toAdd]];; +_friends set [(count _friends), _toAdd]; _thePlot setVariable ["plotfriends", _friends, true]; if (isServer) then { diff --git a/SQF/dayz_code/actions/plotManagement/plotRemoveFriend.sqf b/SQF/dayz_code/actions/plotManagement/plotRemoveFriend.sqf index e7456990b..def1c6da9 100644 --- a/SQF/dayz_code/actions/plotManagement/plotRemoveFriend.sqf +++ b/SQF/dayz_code/actions/plotManagement/plotRemoveFriend.sqf @@ -9,7 +9,7 @@ _toRemove = (_friends select _pos); _newList = []; { if(_x select 0 != _toRemove select 0)then{ - _newList set [(count _newList), [_x]]; + _newList set [(count _newList), _x]; }; } count _friends; _thePlot setVariable ["plotfriends", _newList, true];