mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Merge pull request #1425 from ebaydayz/patch-1
Fix nearestObjects position error
This commit is contained in:
@@ -203,10 +203,9 @@ if (_characterID != "0") then {
|
||||
};
|
||||
|
||||
// Force gear updates for nearby vehicles/tents
|
||||
_pos = _this select 0;
|
||||
{
|
||||
[_x, "gear"] call server_updateObject;
|
||||
} count nearestObjects [_pos, dayz_updateObjects, 10];
|
||||
} count (nearestObjects [_charPos, dayz_updateObjects, 10]);
|
||||
//[_charPos] call server_updateNearbyObjects;
|
||||
|
||||
//Reset timer
|
||||
|
||||
Reference in New Issue
Block a user