mirror of
https://bitbucket.org/Mattrixwv/luaclasses.git
synced 2025-12-06 18:33:59 -05:00
Fixed bug in isFound
This commit is contained in:
@@ -336,7 +336,7 @@ end
|
|||||||
|
|
||||||
function isFound(ary, key)
|
function isFound(ary, key)
|
||||||
for cnt = 1, #ary do
|
for cnt = 1, #ary do
|
||||||
if(ary[ary] == key) then
|
if(ary[cnt] == key) then
|
||||||
return true;
|
return true;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user