Fix local variables not showing when breaking on final line

This commit is contained in:
SaracenOne 2022-02-16 18:12:38 +00:00
parent 5d5f80b529
commit 657b9b6596
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ void GDScriptFunction::debug_get_stack_member_state(int p_line, List<Pair<String
int oc = 0;
Map<StringName, _GDFKC> sdmap;
for (const StackDebug &sd : stack_debug) {
if (sd.line > p_line) {
if (sd.line >= p_line) {
break;
}