qbcore-framework / qb-smallresources

A compilation of small resources combined into one
GNU General Public License v3.0
53 stars 349 forks source link

[BUG] Hunger and thirst still ticking after player death #328

Closed Nanorithm closed 1 year ago

Nanorithm commented 1 year ago

Describe the bug After a player dies from hunger/thirst, they are knocked unconscious but the damage ticking doesn't stop at this point. Causing the player to full die within seconds rather than the configured bleed out time.

To Reproduce Steps to reproduce the behavior:

  1. Die from hunger
  2. Damage keeps ticking after death

Expected behavior After being knocked out from hunger, the damage ticks stop so that the bleed out timer can run fully.

Questions (please complete the following information):

DuoTheDev commented 1 year ago

Currently looking into this issue.