paulofmandown / rotLove

Roguelike Toolkit in Love. A Love2D/lua port of rot.js
http://paulofmandown.github.io/rotLove/
Other
258 stars 25 forks source link

string.gfind #59

Closed giann closed 5 years ago

giann commented 5 years ago

This uses string.gfind https://github.com/paulofmandown/rotLove/blob/9b89af61684df87d752796642a9cab7993421fb5/src/rot/newFuncs.lua#L128 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.