Function returning nil even when the return isnt nil

So my function loops trough multiple tables to find a certain key, once it finds it, it returns it. Somehow when i return it, the value goes to nil even tho the value is not nil when i print it in the loop

Heres the code:
Bild_2024-07-08_022133315
and heres the output
Bild_2024-07-08_022202108

You have to propagate the return value from the nested function.

return deepSearch(SlotData)
1 Like

Thank you for helping me on this!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.