paulofmandown/rotLove

string.gfind

giann opened this issue · 0 comments

giann commented

This uses string.gfind

for part, pos in string.gfind(self, pat) do
which is not available in LuaJIT/5.1
I only got the error with love2d on linux and not windows or macOS. No idea why.
Anyway replacing gfind with gmatch fixes the issue.