Don't need here - setVariable is just local

This commit is contained in:
Skaronator
2014-01-27 01:47:43 +01:00
parent 29310075d2
commit 09a3b3361c

View File

@@ -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;
//["building_spawnLoot.sqf",(diag_tickTime - _t1)] call fnc_dump;