fixing lua call state function
Merge branch 'dev' of https://github.com/mgc480/ccvrc into dev