refactor(es_extended/client/modules/death): fix typo

This commit is contained in:
Ilias Rbayti
2024-11-28 18:23:09 +01:00
parent 96cb6b04fb
commit e2c4ab73a6
+2 -2
View File
@@ -29,7 +29,7 @@ function Death:ByPlayer()
TriggerServerEvent("esx:onPlayerDeath", data)
end
function Death:Natual()
function Death:Natural()
local coords = GetEntityCoords(ESX.PlayerData.ped)
local data = {
@@ -60,7 +60,7 @@ function Death:Damaged(victim)
if self.killerEntity ~= ESX.PlayerData.ped and self.killerId and isActive then
self:ByPlayer()
else
self:Natual()
self:Natural()
end
self:ResetValues()