diff --git a/RenderDistance_webclient/scripting/RenderDistance.sp b/RenderDistance_webclient/scripting/RenderDistance.sp index 07fc5de..7bc687e 100644 --- a/RenderDistance_webclient/scripting/RenderDistance.sp +++ b/RenderDistance_webclient/scripting/RenderDistance.sp @@ -116,7 +116,7 @@ public Action DoTransmit(int entity, int client) iSearchEntity[client] = entity; bFoundEntity[client] = false; - TR_EnumerateEntitiesSphere(vec, float(iDistance[client]), PARTITION_SOLID_EDICTS | PARTITION_TRIGGER_EDICTS, EnumerateSphere, client); + TR_EnumerateEntitiesSphere(vec, float(iDistance[client]), PARTITION_SOLID_EDICTS | PARTITION_TRIGGER_EDICTS | PARTITION_NON_STATIC_EDICTS, EnumerateSphere, client); return bFoundEntity[client] ? Plugin_Continue : Plugin_Handled; }