mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-04 14:01:36 +03:00
Fix issue laying down near buildables
This commit is contained in:
1 parent
c7d9741be4
commit
f92d84f720
1 file changed
+5
-3
@@ -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