summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSaracenOne <SaracenOne@gmail.com>2022-02-16 18:12:38 +0000
committerSaracenOne <SaracenOne@gmail.com>2022-02-16 18:12:38 +0000
commit657b9b659680194f6d3aa546a4b20246bb51fb39 (patch)
tree0af81dc95426e85a81d5e056bb368edcb3610ea7 /modules
parent5d5f80b5295479ca4e12989394b3a2af8819a1ee (diff)
Fix local variables not showing when breaking on final line
Diffstat (limited to 'modules')
-rw-r--r--modules/gdscript/gdscript_function.cpp2
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;
}