mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-10 11:53:21 +03:00
only sleep if Hive call in loop fails
should improve vehicle spawning time slightly
This commit is contained in:
@@ -41,8 +41,6 @@ _key call server_hiveWrite;
|
||||
_retry = 0;
|
||||
// TODO: Needs major overhaul for 1.1
|
||||
while {_retry < 10} do {
|
||||
|
||||
uiSleep 1;
|
||||
// GET DB ID
|
||||
_key = format["CHILD:388:%1:",_uid];
|
||||
diag_log ("HIVE: WRITE: "+ str(_key));
|
||||
@@ -59,6 +57,7 @@ _key call server_hiveWrite;
|
||||
diag_log("CUSTOM: trying again to get id for: " + str(_uid));
|
||||
_done = false;
|
||||
_retry = _retry + 1;
|
||||
uiSleep 1;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user