CLEANUP: hlua: use hlua_ref() instead of luaL_ref()

Using hlua_ref() everywhere temporary lua objects are involved.
Those references are expected to be cleared using hlua_unref()
when they are no longer used.
1 file changed