mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-03 11:21:36 +03:00
Revert unnecessary change from #1747
https://github.com/EpochModTeam/DayZ-Epoch/pull/1747#issuecomment-241802114
This commit is contained in:
1 parent
29acecc2f2
commit
81473754f9
2 files changed
+2
-2
No files matched your search
@@ -12,7 +12,7 @@ _friends = TheDoor getVariable ["doorfriends",[]];
|
||||
_toAdd = [_friendUID,toArray _friendName];
|
||||
_inList = false;
|
||||
|
||||
{ if ((_x select 0) == (_toAdd select 0)) exitWith { _inList = true; }; false } count _friends;
|
||||
{ if ((_x select 0) == (_toAdd select 0)) exitWith { _inList = true; }; } count _friends;
|
||||
if (_inList) exitWith { systemChat localize "STR_EPOCH_PLOTMANAGEMENT_ADDFRIEND_ALREADYONTHELIST"; };
|
||||
if ((count _friends) == DZE_doorManagementMaxFriends) exitWith { systemChat format[localize "STR_EPOCH_PLOTMANAGEMENT_ADDFRIEND_FRIENDLIMIT", DZE_doorManagementMaxFriends]; };
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ _friends = _thePlot getVariable ["plotfriends",[]];
|
||||
_toAdd = [_friendUID,toArray _friendName];
|
||||
_inList = false;
|
||||
|
||||
{ if ((_x select 0) == (_toAdd select 0)) exitWith { _inList = true; }; false } count _friends;
|
||||
{ if ((_x select 0) == (_toAdd select 0)) exitWith { _inList = true; }; } count _friends;
|
||||
if (_inList) exitWith { systemChat localize "STR_EPOCH_PLOTMANAGEMENT_ADDFRIEND_ALREADYONTHELIST"; };
|
||||
if ((count _friends) == DZE_MaxPlotFriends) exitWith { systemChat format[localize "STR_EPOCH_PLOTMANAGEMENT_ADDFRIEND_FRIENDLIMIT", DZE_MaxPlotFriends]; };
|
||||
|
||||
|
||||
Reference in new issue
Block a user