mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Use object itself as centre for nearEntities in getProximityPlayers (#7512)
This commit is contained in:
parent
d1c03cec1a
commit
10fa22ff24
@ -18,7 +18,7 @@
|
||||
|
||||
params ["_unit", "_range"];
|
||||
|
||||
private _proximityPlayers = (getPos _unit) nearEntities [["CAMAnBase"], _range];
|
||||
private _proximityPlayers = _unit nearEntities [["CAMAnBase"], _range];
|
||||
_proximityPlayers deleteAt (_proximityPlayers find _unit);
|
||||
_proximityPlayers append (crew vehicle _unit);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user