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,10 +176,12 @@ if (isNil "keyboard_keys") then {
}; };
}; };
_drop = { _drop = {
if (r_drag_sqf) then {
_doors = nearestObjects [player, DayZ_DropDrageeObjects, 3]; //Prevent exploit of glitching through doors _doors = nearestObjects [player, DayZ_DropDrageeObjects, 3]; //Prevent exploit of glitching through doors
if (count _doors > 0) then {_handled = true;}; if (count _doors > 0) then {_handled = true;};
force_dropBody = 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
r_interrupt = true; r_interrupt = true;