removed retry hopefully it will not be needed now

This commit is contained in:
[VB]AWOL
2014-01-22 09:32:33 -06:00
parent 3e5790dbb5
commit ba9af58532

View File

@@ -80,17 +80,10 @@ if (_proceed) then {
// all parts removed proceed // all parts removed proceed
if (_tobe_removed_total == _removed_total) then { if (_tobe_removed_total == _removed_total) then {
cutText [format[(localize "str_epoch_player_144"),_text], "PLAIN DOWN", 5];
_uniqueID = random(99999);
_retry = 0;
cutText [format[(localize "STR_EPOCH_ACTIONS_4"), _count], "PLAIN DOWN", 5]; cutText [format[(localize "STR_EPOCH_ACTIONS_4"), _count], "PLAIN DOWN", 5];
while {2 >= _retry} do { // 2 Times PVDZE_maintainArea = [player,2,_obj];
_retry = _retry + 1; publicVariableServer "PVDZE_maintainArea";
PVDZE_maintainArea = [player,2,[_obj],_uniqueID];
publicVariableServer "PVDZE_maintainArea";
sleep 20;
};
} else { } else {
{player addMagazine _x;} forEach _temp_removed_array; {player addMagazine _x;} forEach _temp_removed_array;