mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix nearestObjects with getPos choking over seawater. Fix #465
This commit is contained in:
parent
8715a9c4a1
commit
b8e0388581
@ -23,7 +23,7 @@ _fnc_renderNearbyActions = {
|
||||
#define MAXINTERACTOBJECTS 3
|
||||
|
||||
_numInteractObjects = 0;
|
||||
_nearestObjects = nearestObjects [(getPos ACE_player), ["All"], 15];
|
||||
_nearestObjects = nearestObjects [ACE_player, ["All"], 15];
|
||||
{
|
||||
_target = _x;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user