Qbox-project / qbx_core

http://qbox-project.github.io
Other
46 stars 109 forks source link

Fix #443 - Fix for default duty not working if set to false #450

Closed Scullyy closed 2 months ago

Scullyy commented 2 months ago

Description

Fix for default duty not working if set to false

Checklist

Scullyy commented 2 months ago

This logic looks the same, what am I missing?

in the current logic if job.defaultDuty was set to false then it would move onto playerData.job?.onduty, I tested this with prints and found that these changes resolved it.