Update ExileServer_object_container_database_insert.sqf

This fixes a garbage cleaner issue because NULL is 0 in the DB and not (NULL)
This commit is contained in:
ELRabito
2020-11-28 17:37:12 +01:00
committed by GitHub
parent 6b27786b72
commit 79d59f427d

View File

@ -16,7 +16,7 @@ _position = getPosATL _containerObject;
_vectorDirection = vectorDir _containerObject;
_vectorUp = vectorUp _containerObject;
_territoryFlag = _containerObject call ExileClient_util_world_getTerritoryAtPosition;
_territoryID = if (isNull _territoryFlag) then { 'NULL' } else { _territoryFlag getVariable ["ExileDatabaseID", '']};
_territoryID = if (isNull _territoryFlag) then { '' } else { _territoryFlag getVariable ["ExileDatabaseID", '']};
if !(ExileContainerCargo isEqualTo []) then
{
_data =