Reset whoQueryIdx to 1 when no WHO query is found

This commit is contained in:
2025-05-25 10:39:45 +02:00
parent 7ae9db030b
commit 85ff907f05

View File

@@ -689,6 +689,7 @@ shared.Whoer = {
print(
string.format("[%s] Error: No WHO query found to run at index %d", ModuleName, whoQueryIdx)
)
whoQueryIdx = 1
end
return
end