mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fix issue laying down near buildables
This commit is contained in:
@@ -176,9 +176,11 @@ if (isNil "keyboard_keys") then {
|
||||
};
|
||||
};
|
||||
_drop = {
|
||||
_doors = nearestObjects [player, DayZ_DropDrageeObjects, 3]; //Prevent exploit of glitching through doors
|
||||
if (count _doors > 0) then {_handled = true;};
|
||||
force_dropBody = true;
|
||||
if (r_drag_sqf) then {
|
||||
_doors = nearestObjects [player, DayZ_DropDrageeObjects, 3]; //Prevent exploit of glitching through doors
|
||||
if (count _doors > 0) then {_handled = true;};
|
||||
force_dropBody = true;
|
||||
};
|
||||
};
|
||||
_interrupt = {
|
||||
if (vehicle player == player) then { //allow med actions in moving vehicles
|
||||
|
||||
Reference in New Issue
Block a user