Fix typo in lua_api.txt
Fix crash updating gametype without game