paulofmandown/rotLove

version check broken

leafo opened this issue · 1 comments

leafo commented

With love 0.10.0, the version checking code fails:

Lua 5.1.5  Copyright (C) 1994-2012 Lua.org, PUC-Rio
> print("0.9.0" > "0.8.0")
true
> print("0.10.0" > "0.8.0")
false
> 

Maybe you can do feature detection instead of version checking?

if love.graphics.setMode then ... else ... end
leafo commented

thanks!