Prevent player from dragging through walls

This commit is contained in:
icomrade
2016-09-22 14:03:23 -04:00
parent 43547c8273
commit 6ae64eb622
3 changed files with 8 additions and 3 deletions

View File

@@ -170,7 +170,7 @@ if (isNil "keyboard_keys") then {
};
};
_drop = {
_doors = nearestObjects [player, DZE_DoorsLocked, 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;};
force_dropBody = true;
};