remove sleeps

This commit is contained in:
[VB]AWOL
2013-12-04 14:11:18 -06:00
parent 0a1935cffb
commit 56f95f36e4

View File

@@ -13,10 +13,7 @@ _holder = _array select 2;
// if holder is null disallow pickup for 5 seconds // if holder is null disallow pickup for 5 seconds
if(isNull _holder) exitWith { if(isNull _holder) exitWith {
[] spawn { DZE_CanPickup = true;
sleep 5;
DZE_CanPickup = true;
};
}; };
// Check if closest player // Check if closest player
@@ -58,8 +55,4 @@ if(_qty >= 1) then {
}; };
}; };
// disallow another pickup action for 5 seconds. DZE_CanPickup = true;
[] spawn {
sleep 5;
DZE_CanPickup = true;
};