From 09a3b3361c057abcbcfc13433377c04f3555fb1f Mon Sep 17 00:00:00 2001 From: Skaronator Date: Mon, 27 Jan 2014 01:47:43 +0100 Subject: [PATCH] Don't need here - setVariable is just local --- SQF/dayz_code/compile/building_spawnLoot.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SQF/dayz_code/compile/building_spawnLoot.sqf b/SQF/dayz_code/compile/building_spawnLoot.sqf index b8d56f5af..a21caf470 100644 --- a/SQF/dayz_code/compile/building_spawnLoot.sqf +++ b/SQF/dayz_code/compile/building_spawnLoot.sqf @@ -25,7 +25,7 @@ _lootChance = getNumber (_config >> "lootChance"); _index = _weights select _index; _itemType = _itemTypes select _index; [_itemType select 0, _itemType select 1 , _iPos, 0.0] call spawn_loot; - _obj setVariable ["created",(DateToNumber date),true]; + //_obj setVariable ["created",(DateToNumber date),true]; }; }; } forEach _positions; @@ -45,8 +45,8 @@ _positionsSmall = [] + getArray (_config >> "lootPosSmall"); _index = _weights select _index; _itemType = _itemTypesSmall select _index; [_itemType select 0, _itemType select 1 , _iPos, 0.0] call spawn_loot_small; - _obj setVariable ["created",(DateToNumber date),true]; + //_obj setVariable ["created",(DateToNumber date),true]; }; }; } forEach _positionsSmall; -//["building_spawnLoot.sqf",(diag_tickTime - _t1)] call fnc_dump; \ No newline at end of file +//["building_spawnLoot.sqf",(diag_tickTime - _t1)] call fnc_dump;