qb-target
qb-target copied to clipboard
fix: PolyZone has vec2 centre, not vec3. Correct for distance check.
Describe Pull request PolyZones have a vector2 centre, not a vector3. Fix distance calculation for PolyZones when Config.DrawSprite is true.
Questions (please complete the following information):
- Have you personally loaded this code into an updated qbcore project and checked all it's functionality? yes
- Does your code fit the style guidelines? yes
- Does your PR fit the contribution guidelines? yes