Can you explain how it doesn't work for you? I have used this code for multiple years now in Dog, I don't think the geoscanner has ever changed its lua-facing API.
In any case, the attempt to index nil value is likely because geoscanner.scan() is returning nil, which is exactly what my code fixes -- or at least, patches.
View all comments
Show parent comment
1
u/fatboychummy Sep 02 '24
Can you explain how it doesn't work for you? I have used this code for multiple years now in Dog, I don't think the geoscanner has ever changed its lua-facing API.
In any case, the
attempt to index nil valueis likely becausegeoscanner.scan()is returningnil, which is exactly what my code fixes -- or at least, patches.