Derp 1
This commit is contained in:
parent
0336cdaa2a
commit
5ba89ff6c0
@ -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)
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user