mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 02:01:31 +00:00
refactor(es_extended/client/modules/death): fix typo
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user