Simplify configuration of simple hook functions.
This commit is contained in:
@@ -551,8 +551,8 @@ public class LuaState extends Lua {
|
|||||||
ci.top = top;
|
ci.top = top;
|
||||||
|
|
||||||
// allow debug hooks a chance to operate
|
// allow debug hooks a chance to operate
|
||||||
|
debugHooks( ci.pc );
|
||||||
if ( hooksenabled ) {
|
if ( hooksenabled ) {
|
||||||
debugHooks( ci.pc );
|
|
||||||
debugBytecodeHooks( ci.pc );
|
debugBytecodeHooks( ci.pc );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user