fixed bug in Cocos2dxLuaLoader
standardized codes
Merge pull request #8214 from SunLightJuly/fix_lua_loader

Fix lua loader