Skip to content

Commit f8d04aa

Browse files
authored
Update main.lua
1 parent 56266b7 commit f8d04aa

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

client/main.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,9 @@ function SetupScaleform(scaleform, Buttons)
8888
PushScaleformMovieFunction(scaleform, Buttons[i].type)
8989
if Buttons[i].int then PushScaleformMovieFunctionParameterInt(Buttons[i].int) end
9090
if Buttons[i].keyIndex then
91-
if type(Buttons[i].keyIndex) == "table" then
9291
for _, v in pairs(Buttons[i].keyIndex) do
9392
N_0xe83a3e3557a56640(GetControlInstructionalButton(2, v, true))
9493
end
95-
else
96-
N_0xe83a3e3557a56640(GetControlInstructionalButton(2, v, Buttons[i].keyIndex))
97-
end
9894
end
9995
if Buttons[i].name then
10096
BeginTextCommandScaleformString("STRING")
@@ -292,4 +288,4 @@ RegisterCommand('tsf', function ()
292288
interactMessage = 'View Print',
293289
}
294290
})
295-
end)
291+
end)

0 commit comments

Comments
 (0)