AP_Scritping:change TRIKx_ID defaults to -1 (not setup)

This commit is contained in:
Henry Wurzburg 2023-03-23 11:35:50 -05:00 committed by Andrew Tridgell
parent ece07601d7
commit 0a84d38f43

View File

@ -117,7 +117,7 @@ if TRIK_ENABLE:get() > 0 then
for i = 1, count do
local k = 5*i
local prefix = string.format("%u", i)
TRICKS[i] = TrickDef(bind_add_param2(prefix .. "_ID", k+0, i),
TRICKS[i] = TrickDef(bind_add_param2(prefix .. "_ID", k+0, -1),
bind_add_param2(prefix .. "_ARG1", k+1, 30),
bind_add_param2(prefix .. "_ARG2", k+2, 0),
bind_add_param2(prefix .. "_ARG3", k+3, 0),