Use object itself as centre for nearEntities in getProximityPlayers (#7512)

This commit is contained in:
Tim Beswick 2020-02-07 19:24:41 +00:00 committed by GitHub
parent d1c03cec1a
commit 10fa22ff24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);