Qbox-project / qbx_core

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

fix(server/player): use job/gang data as source of truth instead of playerdata #374

Closed Manason closed 4 months ago

Manason commented 4 months ago

The only thing the stored playerdata.job and .gang will be used for now is the name, grade, and last onduty value. Other fields of job/gang will be derived from the job/gang data. This fixes the potential for stale cached data on the player object. This doesn't change what data is written to the database.