Qbox-project / qbx_core

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

fix(server/player): do not zero metadata on logout #438

Closed solareon closed 2 months ago

solareon commented 2 months ago

statebags shouldn't be nil on logout but maybe if you got potatoes connected to potatoes then you'll be a nil bagholder

Description

Statebags shouldn't be nil that fast on logout but in case they are don't zero the players metadata needs.

Checklist

jnccloud commented 2 months ago

Is this why I have random players who wake up dead?