This commit is contained in:
[VB]AWOL
2014-01-26 20:14:53 -06:00
2 changed files with 7 additions and 7 deletions

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;