diff options
author | SaracenOne <SaracenOne@gmail.com> | 2022-02-16 18:12:38 +0000 |
---|---|---|
committer | SaracenOne <SaracenOne@gmail.com> | 2022-02-16 18:12:38 +0000 |
commit | 657b9b659680194f6d3aa546a4b20246bb51fb39 (patch) | |
tree | 0af81dc95426e85a81d5e056bb368edcb3610ea7 /modules | |
parent | 5d5f80b5295479ca4e12989394b3a2af8819a1ee (diff) |
Fix local variables not showing when breaking on final line
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdscript/gdscript_function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_function.cpp b/modules/gdscript/gdscript_function.cpp index 9424de9d22..3d708955ed 100644 --- a/modules/gdscript/gdscript_function.cpp +++ b/modules/gdscript/gdscript_function.cpp @@ -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; } |