Skip to content

Commit

Permalink
fix(es_extended/client/modules/actions): avoid manually setting playe…
Browse files Browse the repository at this point in the history
…rdata entirely
  • Loading branch information
Kenshiin13 committed Dec 23, 2024
1 parent 553303f commit cb153c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion [core]/es_extended/client/modules/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ function Actions:TrackPed()

if playerPed ~= newPed then
ESX.SetPlayerData("ped", newPed)
ESX.PlayerData.ped = newPed

TriggerEvent("esx:playerPedChanged", newPed)

Expand Down

0 comments on commit cb153c2

Please sign in to comment.