mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Prevent player from dragging through walls
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user