From 4e940a21ccf06851ab098b16cd746bac5204587d Mon Sep 17 00:00:00 2001 From: HARLAN Date: Wed, 27 Nov 2013 01:20:33 -0500 Subject: [PATCH] #762 --- SQF/dayz_code/actions/remove.sqf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SQF/dayz_code/actions/remove.sqf b/SQF/dayz_code/actions/remove.sqf index 43986b221..98f57fa90 100644 --- a/SQF/dayz_code/actions/remove.sqf +++ b/SQF/dayz_code/actions/remove.sqf @@ -31,7 +31,7 @@ _isDestructable = _obj isKindOf "BuiltItems"; _isWreck = _objType in DZE_isWreck; _isRemovable = _objType in DZE_isRemovable; _isWreckBuilding = _objType in DZE_isWreckBuilding; -_isModular = _objType isKindOf "ModularItems"; +_isModular = _obj isKindOf "ModularItems"; _limit = 3; if(isNumber (configFile >> "CfgVehicles" >> _objType >> "constructioncount")) then { @@ -68,8 +68,7 @@ cutText [format[(localize "str_epoch_player_162"),_nameVehicle], "PLAIN DOWN"]; if (_isModular) then { //allow previous cutText to show, then show this if modular. - sleep 2; - {cutText [format["Deconstructing modular buildables will not refund any components."], "PLAIN"];}; + cutText ["Deconstructing modular buildables will not refund any components.", "PLAIN"]; }; // Alert zombies once.