mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker than forEach.
This commit is contained in:
@@ -28,7 +28,7 @@ _location = _worldspace select 1;
|
||||
//Generate UID test using time
|
||||
_uid = _worldspace call dayz_objectUID3;
|
||||
|
||||
// TODO: check if uid already exists and if so increment by 1 and check again as soon as we find nothing continue.
|
||||
// TODO: check if uid already exists && if so increment by 1 && check again as soon as we find nothing continue.
|
||||
|
||||
//Send request
|
||||
_key = format["CHILD:308:%1:%2:%3:%4:%5:%6:%7:%8:%9:",dayZ_instance, _class, 0 , _characterID, _worldspace, [], [], 1,_uid];
|
||||
|
||||
Reference in New Issue
Block a user