mirror of
https://github.com/DoubleRepo/PersistentTreeLogging.git
synced 2024-08-30 16:52:16 +00:00
Update ExileServer_object_tree_database_load.sqf
Fixed tree not found x'D
This commit is contained in:
parent
e87c18a5bb
commit
f1f8974b17
@ -13,8 +13,7 @@ private["_treeID", "_data", "_position", "_Tree", "_SelectTree"];
|
||||
_treeID = _this;
|
||||
_data = format ["loadTree:%1", _treeID] call ExileServer_system_database_query_selectSingle;
|
||||
_position = [_data select 0, _data select 1, _data select 2];
|
||||
_Tree = nearestTerrainObjects [_position, ["Tree"], 5];
|
||||
_SelectTree = _Tree select 0;
|
||||
diag_log format ["Hiding Tree @ %1", _SelectTree];
|
||||
_SelectTree hideObjectGlobal true;
|
||||
true
|
||||
(nearestTerrainObjects [_position, [], 1, false, true]) params [["_tree", objNull, [objNull]]];
|
||||
diag_log format ["Hiding Tree %1", _tree];
|
||||
_tree hideObjectGlobal true;
|
||||
true
|
||||
|
Loading…
Reference in New Issue
Block a user