This commit is contained in:
blunty666 2016-12-10 21:52:06 +00:00
parent 0336cdaa2a
commit 5ba89ff6c0
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ local apis = {
"aStar", "aStar",
"location", "location",
} }
for _ api in ipairs(apis) do for _, api in ipairs(apis) do
if not _G[api] then if not _G[api] then
if not os.loadAPI(api) then if not os.loadAPI(api) then
error("could not load API: "..api) error("could not load API: "..api)

View File

@ -3,7 +3,7 @@ local apis = {
"aStar", "aStar",
"location", "location",
} }
for _ api in ipairs(apis) do for _, api in ipairs(apis) do
if not _G[api] then if not _G[api] then
if not os.loadAPI(api) then if not os.loadAPI(api) then
error("could not load API: "..api) error("could not load API: "..api)