use player instead of getPosATL for nearEntities

This commit is contained in:
vbawol 2017-06-23 17:38:56 -05:00
parent e304f7f791
commit 3a59388163

View File

@ -6,7 +6,7 @@ EPOCH_playerIsSwimming = false;
if !(surfaceIsWater _position) then {
if (EPOCH_nearestLocations isEqualTo []) then{
if (count(_position nearEntities["Animal_Base_F", 800]) < 2) then {
if (count(player nearEntities["Animal_Base_F", 800]) < 2) then {
call EPOCH_client_loadAnimalBrain;
};
};