mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
Revert "Fixed if _hiveResponse is null"
This reverts commit 76314d5636.
This commit is contained in:
@@ -34,12 +34,7 @@ if (isServer and isNil "sm_done") then {
|
|||||||
diag_log "HIVE: trying to get objects";
|
diag_log "HIVE: trying to get objects";
|
||||||
_key = format["CHILD:302:%1:", dayZ_instance];
|
_key = format["CHILD:302:%1:", dayZ_instance];
|
||||||
_hiveResponse = _key call server_hiveReadWrite;
|
_hiveResponse = _key call server_hiveReadWrite;
|
||||||
if (isnil "_hiveResponse") then {
|
if ((((isnil "_hiveResponse") || {(typeName _hiveResponse != "ARRAY")}) || {((typeName (_hiveResponse select 1)) != "SCALAR")})) then {
|
||||||
diag_log ("HIVE: connection problem... unable to call HiveExt");
|
|
||||||
_hiveResponse = ["",0];
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
if ({(typeName _hiveResponse != "ARRAY")} || {((typeName (_hiveResponse select 1)) != "SCALAR")}) then {
|
|
||||||
diag_log ("HIVE: connection problem... HiveExt response:"+str(_hiveResponse));
|
diag_log ("HIVE: connection problem... HiveExt response:"+str(_hiveResponse));
|
||||||
_hiveResponse = ["",0];
|
_hiveResponse = ["",0];
|
||||||
}
|
}
|
||||||
@@ -48,7 +43,6 @@ if (isServer and isNil "sm_done") then {
|
|||||||
_i = 99; // break
|
_i = 99; // break
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
_BuildingQueue = [];
|
_BuildingQueue = [];
|
||||||
_objectQueue = [];
|
_objectQueue = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user