mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-24 08:24:23 +01:00
Fix local variables not showing when breaking on final line
(cherry picked from commit 657b9b659680194f6d3aa546a4b20246bb51fb39)
This commit is contained in:
parent
536884aa68
commit
109e2f7385
@ -1652,7 +1652,7 @@ void GDScriptFunction::debug_get_stack_member_state(int p_line, List<Pair<String
|
||||
RBMap<StringName, _GDFKC> sdmap;
|
||||
for (const List<StackDebug>::Element *E = stack_debug.front(); E; E = E->next()) {
|
||||
const StackDebug &sd = E->get();
|
||||
if (sd.line > p_line) {
|
||||
if (sd.line >= p_line) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user