Duty status is not defaulting to what the shared/jobs.lua has.
Reproduction
Make sure to go on/off duty (Make sure duty is true/false). Preferrably go on duty to make it easier to identify.
After going on/off duty, logoff (F8 Quit).
Log back on. After loading, check your duty status.
It should be set to whatever your last duty status is.
Expected behavior
Since I have defaultDuty set to false within shared/jobs.lua it should be forcing the player when they login to off-duty. Yes, I have ForceJobDefaultDutyAtLogin set to true.
Actual behavior
After updating from 1.6.1 qbx_core, players will login on duty when the defaultDuty status is set to false in shared/jobs.lua. Within the shared/main.lua ForceJobDefaultDutyAtLogin is set to true.
Additional context
N/A
Current Version
v1.10.1
Custom Resources
Nothing that would directly effect this issue. It only happened after an upgrade from 1.6.1.
Summary
Duty status is not defaulting to what the shared/jobs.lua has.
Reproduction
Expected behavior
Since I have defaultDuty set to false within shared/jobs.lua it should be forcing the player when they login to off-duty. Yes, I have ForceJobDefaultDutyAtLogin set to true.
Actual behavior
After updating from 1.6.1 qbx_core, players will login on duty when the defaultDuty status is set to false in shared/jobs.lua. Within the shared/main.lua ForceJobDefaultDutyAtLogin is set to true.
Additional context
N/A
Current Version
v1.10.1
Custom Resources
Nothing that would directly effect this issue. It only happened after an upgrade from 1.6.1.