Fix for Container Update

This commit is contained in:
Declan Ireland 2017-03-15 14:15:09 +00:00
parent 3d5e3e2744
commit fb478fcb0a

View File

@ -18,7 +18,7 @@ if (_containerID > -1) then
_vectorDirection = vectorDir _containerObject; _vectorDirection = vectorDir _containerObject;
_vectorUp = vectorUp _containerObject; _vectorUp = vectorUp _containerObject;
_territoryFlag = _containerObject call ExileClient_util_world_getTerritoryAtPosition; _territoryFlag = _containerObject call ExileClient_util_world_getTerritoryAtPosition;
_territoryID = if (isNull _territoryFlag) then { 'NULL' } else { _territoryFlag getVariable ["ExileDatabaseID", 'NULL']}; _territoryID = if (isNull _territoryFlag) then { '' } else { _territoryFlag getVariable ["ExileDatabaseID", '']};
_containerObject setVariable ["ExileTerritoryID", _territoryID]; _containerObject setVariable ["ExileTerritoryID", _territoryID];
_data = _data =
[ [