summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-03-04 14:50:56 +0100
committerGitHub <noreply@github.com>2022-03-04 14:50:56 +0100
commite133adeb8ca8d89a51b583e9160cbded34e3c3cf (patch)
treebe0447e504d5e4f7d048041d8c373bba25018621 /modules/gdscript
parent4bbd7417c4eafafa99ab937acd2f944e3864226f (diff)
parent657b9b659680194f6d3aa546a4b20246bb51fb39 (diff)
Merge pull request #58201 from V-Sekai/debugger_locals
Diffstat (limited to 'modules/gdscript')
-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;
}