summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-09-17 22:54:35 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-09-17 22:54:43 +0200
commitae3b26da7bf0cb9955a083805b2081e7bc806c5d (patch)
tree38f63e523215bfcbb4d8c8a100e2bde8b46bb9c0 /modules/gdscript
parentec23d1348a744096f1a431caa05ec27ffc584303 (diff)
GDScript: Remove reference to remove `@export_exp_range`
It was removed in 75688772b3efadb8a36b1bb7ccde9c08819bc58e to be replaced by `@export_range` with an `"exp"` hint string.
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gdscript_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp
index f79e5726ce..73aed67afa 100644
--- a/modules/gdscript/gdscript_editor.cpp
+++ b/modules/gdscript/gdscript_editor.cpp
@@ -637,7 +637,7 @@ static void _get_directory_contents(EditorFileSystemDirectory *p_dir, Map<String
}
static void _find_annotation_arguments(const GDScriptParser::AnnotationNode *p_annotation, int p_argument, const String p_quote_style, Map<String, ScriptCodeCompletionOption> &r_result) {
- if (p_annotation->name == "@export_range" || p_annotation->name == "@export_exp_range") {
+ if (p_annotation->name == "@export_range") {
if (p_argument == 3 || p_argument == 4) {
// Slider hint.
ScriptCodeCompletionOption slider1("or_greater", ScriptCodeCompletionOption::KIND_PLAIN_TEXT);