# HG changeset patch # User Matthew Wild # Date 1643987593 0 # Node ID 8fd3eebb89669f08c1849cdec1c2d053b8289bb4 # Parent a3ad9cf740d601deba008df532ccf8084ef8b441 Revert util.debug change accidentally committed in e157e5c79daa diff -r a3ad9cf740d6 -r 8fd3eebb8966 util/debug.lua --- a/util/debug.lua Fri Feb 04 15:04:20 2022 +0000 +++ b/util/debug.lua Fri Feb 04 15:13:13 2022 +0000 @@ -31,7 +31,7 @@ for local_num = 1, math.huge do local name, value; if thread then - name, value = debug.getlocal(thread, level-1, local_num); + name, value = debug.getlocal(thread, level, local_num); else name, value = debug.getlocal(level+1, local_num); end