mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
use player instead of getPosATL for nearEntities
This commit is contained in:
parent
e304f7f791
commit
3a59388163
@ -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;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user