[B2060] Fall damage is not calling CEventNetworkEntityDamage

(Only happens on builds >= 2060)
So the game event CEventNetworkEntityDamage is not being called when I get fall damage, but only if I didn’t get damaged from an entity before (Which means I need to get damaged so it will start working).

Also, when it’s working, it is detecting the fall damage as damage from the entity who hurt you before.

When you die and respawn it will not work again, as the last attacker is being reset.

So the bug is really just when you hurt yourself, it doesn’t trigger the event, as it should and done in before versions.

  1. Client (production/canary): Canary
  2. What you expected to happen: When you get fall damage, it will call the event even without anybody to damage you before.
  3. What actually happens: Only being called when you get damaged from someone before you get the fall damage.
  4. Category of bug (eg. client, server, weapons, peds, native): client.
  5. Reproducible steps, preferably with example script(s):

a. Client script:

AddEventHandler('gameEventTriggered', function (name, args)
  print('game event ' .. name .. ' (' .. json.encode(args) .. ')')
end)

b. Run the game on build 2060.
c. Get fall damage and see if it’s printing it.
d. Get damaged by an entity (Could be even ped and vehicle) and then when you get fall damage, you will see it printing fine.

Video:

Might be fixed as of the following commit-merge: