summaryrefslogtreecommitdiffstats
path: root/core/object/script_language.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/object/script_language.h')
-rw-r--r--core/object/script_language.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/script_language.h b/core/object/script_language.h
index 829f01fbcc..c22890e30a 100644
--- a/core/object/script_language.h
+++ b/core/object/script_language.h
@@ -338,7 +338,7 @@ public:
Ref<Resource> icon;
Variant default_value;
Vector<Pair<int, int>> matches;
- Vector<Pair<int, int>> last_matches;
+ Vector<Pair<int, int>> last_matches = { { -1, -1 } }; // This value correspond to an impossible match
int location = LOCATION_OTHER;
CodeCompletionOption() {}