perf: optimization of idle performances

This commit is contained in:
AvaN0x
2022-08-22 18:14:19 +02:00
parent 0a30d9ad9a
commit f9e52655bf

View File

@@ -19,7 +19,7 @@ local PtfxNoProp = false
Citizen.CreateThread(function()
while true do
if IsPedShooting(PlayerPedId()) and IsInAnimation then
if IsInAnimation and IsPedShooting(PlayerPedId()) then
EmoteCancel()
end