lua 5.2 fix
Merge branch 'master' into sauerbraten