Simplify configuration of simple hook functions.

This commit is contained in:
James Roseborough
2009-04-09 22:50:26 +00:00
parent 67c66c684c
commit 4d4df03dbf

View File

@@ -551,8 +551,8 @@ public class LuaState extends Lua {
ci.top = top;
// allow debug hooks a chance to operate
debugHooks( ci.pc );
if ( hooksenabled ) {
debugHooks( ci.pc );
debugBytecodeHooks( ci.pc );
}