Skip to content

Commit da35504

Browse files
authored
Merge pull request #421 from klutvott123/board-info-apiversion
Make BOARD_INFO download conditional to apiVersion >=1.043
2 parents 4a181bf + b7c5196 commit da35504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SCRIPTS/BF/ui_init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ local function init()
4343
getVtxTables = nil
4444
collectgarbage()
4545
end
46-
elseif not boardInfoReceived then
46+
elseif not boardInfoReceived and apiVersion >= 1.043 then
4747
getBoardInfo = getBoardInfo or assert(loadScript("board_info.lua"))()
4848
returnTable.t = getBoardInfo.t
4949
boardInfoReceived = getBoardInfo.f()

0 commit comments

Comments
 (0)