Skip to content

Commit 99a910f

Browse files
Vyastabdel1touimi
authored andcommitted
fix(client/progress): playEnter arg for scenarios in progress bar (overextended#671)
1 parent 7045166 commit 99a910f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resource/interface/client/progress.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ local function startProgress(data)
103103
TaskPlayAnim(cache.ped, anim.dict, anim.clip, anim.blendIn or 3.0, anim.blendOut or 1.0, anim.duration or -1, anim.flag or 49, anim.playbackRate or 0, anim.lockX, anim.lockY, anim.lockZ)
104104
RemoveAnimDict(anim.dict)
105105
elseif anim.scenario then
106-
TaskStartScenarioInPlace(cache.ped, anim.scenario, 0, anim.playEnter ~= nil and anim.playEnter or true)
106+
TaskStartScenarioInPlace(cache.ped, anim.scenario, 0, anim.playEnter == nil or anim.playEnter)
107107
end
108108
end
109109

0 commit comments

Comments
 (0)