qbcore-framework / qb-management

Management menu for jobs & gangs
GNU General Public License v3.0
32 stars 162 forks source link

Update sv_boss.lua #106

Closed Borreke0 closed 3 months ago

Borreke0 commented 7 months ago

Describe Pull request When having multiple job jobs with the same type, the employee list fills with all users containing that type in the 'job' record. E.g.: job 'mechanic' and type 'mechanic' get mixed up in this list causing other jobs to pop up in an employee list

This fixes it and searches for the job in the JSON, so it results only in the employees of that job.

Questions (please complete the following information):

github-actions[bot] commented 4 months ago

This PR has had 60 days of inactivity & will close within 7 days