Reset whoQueryIdx to 1 when no WHO query is found
This commit is contained in:
@@ -689,6 +689,7 @@ shared.Whoer = {
|
|||||||
print(
|
print(
|
||||||
string.format("[%s] Error: No WHO query found to run at index %d", ModuleName, whoQueryIdx)
|
string.format("[%s] Error: No WHO query found to run at index %d", ModuleName, whoQueryIdx)
|
||||||
)
|
)
|
||||||
|
whoQueryIdx = 1
|
||||||
end
|
end
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user