Fix issue laying down near buildables

This commit is contained in:
icomrade
2016-10-26 16:58:06 -04:00
parent c7d9741be4
commit f92d84f720

View File

@@ -176,9 +176,11 @@ if (isNil "keyboard_keys") then {
}; };
}; };
_drop = { _drop = {
_doors = nearestObjects [player, DayZ_DropDrageeObjects, 3]; //Prevent exploit of glitching through doors if (r_drag_sqf) then {
if (count _doors > 0) then {_handled = true;}; _doors = nearestObjects [player, DayZ_DropDrageeObjects, 3]; //Prevent exploit of glitching through doors
force_dropBody = true; if (count _doors > 0) then {_handled = true;};
force_dropBody = true;
};
}; };
_interrupt = { _interrupt = {
if (vehicle player == player) then { //allow med actions in moving vehicles if (vehicle player == player) then { //allow med actions in moving vehicles