diff options
| author | Juan Linietsky | 2016-06-17 21:57:46 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-06-17 21:57:46 -0300 |
| commit | 57c67fb0f7515564ae739e828d2f4320785d789c (patch) | |
| tree | 4542796a0f96979bb6bc34dd12b995bacff86b8e /modules/gdscript/gd_editor.cpp | |
| parent | dcd50f8838f0e0714e13c0d105030e75c9481c5a (diff) | |
| download | godot-57c67fb0f7515564ae739e828d2f4320785d789c.tar.gz godot-57c67fb0f7515564ae739e828d2f4320785d789c.tar.zst godot-57c67fb0f7515564ae739e828d2f4320785d789c.zip | |
Diffstat (limited to 'modules/gdscript/gd_editor.cpp')
| -rw-r--r-- | modules/gdscript/gd_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp index a0415dee2..d5bf6463c 100644 --- a/modules/gdscript/gd_editor.cpp +++ b/modules/gdscript/gd_editor.cpp @@ -1039,7 +1039,7 @@ static bool _guess_identifier_from_assignment_in_function(GDCompletionContext& c for(int i=0;i<func->body->statements.size();i++) { - if (func->body->statements[i]->line >= p_src_line) { + if (func->body->statements[i]->line == p_src_line) { break; } |
