mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +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
|
// Force gear updates for nearby vehicles/tents
|
||||||
_pos = _this select 0;
|
|
||||||
{
|
{
|
||||||
[_x, "gear"] call server_updateObject;
|
[_x, "gear"] call server_updateObject;
|
||||||
} count nearestObjects [_pos, dayz_updateObjects, 10];
|
} count (nearestObjects [_charPos, dayz_updateObjects, 10]);
|
||||||
//[_charPos] call server_updateNearbyObjects;
|
//[_charPos] call server_updateNearbyObjects;
|
||||||
|
|
||||||
//Reset timer
|
//Reset timer
|
||||||
|
|||||||
Reference in New Issue
Block a user