mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 08:01:24 +00:00
fix(es_extended/client/modules/actions): avoid manually setting playerdata entirely
This commit is contained in:
@@ -46,7 +46,6 @@ function Actions:TrackPed()
|
||||
|
||||
if playerPed ~= newPed then
|
||||
ESX.SetPlayerData("ped", newPed)
|
||||
ESX.PlayerData.ped = newPed
|
||||
|
||||
TriggerEvent("esx:playerPedChanged", newPed)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user